summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_active.c3
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;