diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:26:13 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:14:59 +0000 |
commit | 1f7cbfa395d168839b8ef841874b4f0079a1abcb (patch) | |
tree | a411c83912723e17fd08f0327699e908c2bb4f9f /src/game/g_active.c | |
parent | 617fac98d0df82c4beda446547ca021b7a12d9dd (diff) |
Need to clear the Tyrant's fall velocity before every PMove or we can get insta-squashed telenodes from garbage fallVelocity values.
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index 998040d9..f232781b 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1591,6 +1591,9 @@ void ClientThink_real( gentity_t *ent ) ent->flags &= ~FL_FORCE_GESTURE; ent->client->pers.cmd.buttons |= BUTTON_GESTURE; } + + // clear fall velocity before every pmove + client->pmext.fallVelocity = 0.0f; pm.ps = &client->ps; pm.pmext = &client->pmext; |