From a5139cb92c25b89644db24cb8c58ceabde9dbb80 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Thu, 9 Jun 2011 21:24:08 +0000 Subject: * (bug 5012) Fix camera shake after unfollowing players on movers (/dev/humancontroller) --- src/game/g_cmds.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 6b35037c..046622a7 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2632,6 +2632,7 @@ void G_StopFollowing( gentity_t *ent ) } ent->client->sess.spectatorClient = -1; ent->client->ps.pm_flags &= ~PMF_FOLLOW; + ent->client->ps.groundEntityNum = ENTITYNUM_NONE; ent->client->ps.stats[ STAT_STATE ] = 0; ent->client->ps.stats[ STAT_VIEWLOCK ] = 0; ent->client->ps.eFlags &= ~( EF_WALLCLIMB | EF_WALLCLIMBCEILING ); -- cgit