diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-06-09 21:24:08 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:08 +0000 |
commit | a5139cb92c25b89644db24cb8c58ceabde9dbb80 (patch) | |
tree | 74c4ee9fd59433bf73e2b5c9060779ade81010ab /src/game | |
parent | 39effd528e73a3bc7f5426023555e8449530b9b7 (diff) |
* (bug 5012) Fix camera shake after unfollowing players on movers (/dev/humancontroller)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |