From 1f7cbfa395d168839b8ef841874b4f0079a1abcb Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:26:13 +0000 Subject: Need to clear the Tyrant's fall velocity before every PMove or we can get insta-squashed telenodes from garbage fallVelocity values. --- src/game/g_active.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/g_active.c') 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; -- cgit