summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 9d015e8b..cfc7cc1f 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -42,8 +42,8 @@ void G_ForceWeaponChange( gentity_t *ent, weapon_t weapon )
{
ent->client->ps.pm_flags |= PMF_WEAPON_SWITCH;
- if( weapon == WP_NONE
- || !BG_InventoryContainsWeapon( weapon, ent->client->ps.stats ))
+ if( weapon == WP_NONE ||
+ !BG_InventoryContainsWeapon( weapon, ent->client->ps.stats ))
{
//switch to the first non blaster weapon
for( i = WP_NONE + 1; i < WP_NUM_WEAPONS; i++ )
@@ -64,8 +64,8 @@ void G_ForceWeaponChange( gentity_t *ent, weapon_t weapon )
}
else
ent->client->ps.persistant[ PERS_NEWWEAPON ] = weapon;
-
- // force this here to prevent flamer effect from continuing
+
+ // force this here to prevent flamer effect from continuing
ent->client->ps.generic1 = WPM_NOTFIRING;
ent->client->ps.weapon = ent->client->ps.persistant[ PERS_NEWWEAPON ];