summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_cmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 4c22e71..ec2b7db 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -4621,8 +4621,7 @@ void G_StopFollowing( gentity_t *ent )
if( BG_InventoryContainsUpgrade( UP_BATTLESUIT, ent->client->ps.stats ) )
BG_RemoveUpgradeFromInventory( UP_BATTLESUIT, ent->client->ps.stats );
- ent->client->ps.stats[ STAT_STATE ] &= ~SS_WALLCLIMBING;
- ent->client->ps.stats[ STAT_STATE ] &= ~SS_WALLCLIMBINGCEILING;
+ ent->client->ps.stats[ STAT_STATE ] = 0;
ent->client->ps.eFlags &= ~EF_WALLCLIMB;
ent->client->ps.viewangles[ PITCH ] = 0.0f;