From bf700186d0face573ce32d103621c88e97700371 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Sun, 11 Feb 2024 23:31:26 +0100 Subject: [PATCH] Fixed bounce velocity reduction --- code/fgame/g_phys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/fgame/g_phys.cpp b/code/fgame/g_phys.cpp index a8dcaaab..33133913 100644 --- a/code/fgame/g_phys.cpp +++ b/code/fgame/g_phys.cpp @@ -1329,8 +1329,8 @@ void G_Physics_Toss if (ent->movetype == MOVETYPE_BOUNCE) { // Reduce the velocity when bouncing - ent->velocity[0] -= level.frametime * 1.75f; - ent->velocity[1] -= level.frametime * 1.75f; + ent->velocity[0] -= ent->velocity[0] * level.frametime * 1.75f; + ent->velocity[1] -= ent->velocity[1] * level.frametime * 1.75f; } // stop if on ground