From 64c47b038536a4da8e5fae54220fe37873a1c360 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 25 Apr 2023 20:07:10 +1000 Subject: [PATCH] - Exhumed: Slightly tune damage pushback from previous commit. * The logic here is that the player's running/double speed velocity is scaled by 0.375 in `updatePlayerVelocity()`, so 0.1875 is half of that scale. --- source/games/exhumed/src/runlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/exhumed/src/runlist.cpp b/source/games/exhumed/src/runlist.cpp index 31e6ff1d5..7360d076b 100644 --- a/source/games/exhumed/src/runlist.cpp +++ b/source/games/exhumed/src/runlist.cpp @@ -1784,8 +1784,8 @@ int runlist_CheckRadialDamage(DExhumedActor* pActor) if (pActor->spr.statnum == 100) { - // The player's max vel is 15.25, so this at least 40. - pActor->vel.XY() += nVel.XY() * 0.125 * cl_exdamagepush; + // The player's max vel is 15.25 for reference. + pActor->vel.XY() += nVel.XY() * 0.1875 * cl_exdamagepush; PlayerList[GetPlayerFromActor(pActor)].bJumping = true; } else