From dce0afe49949a2c6e3793eb61d491821d1ed19fc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 28 Jan 2023 12:43:46 +0100 Subject: [PATCH] - Blood: fixed application of push velocity. --- source/games/blood/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/blood/src/player.cpp b/source/games/blood/src/player.cpp index e7ffcc3f7..8081cec34 100644 --- a/source/games/blood/src/player.cpp +++ b/source/games/blood/src/player.cpp @@ -1452,7 +1452,7 @@ int ActionScan(PLAYER* pPlayer, HitInfo* out) int nMass = getDudeInfo(hitactor->spr.type)->mass; if (nMass) { - hitactor->spr.pos += pos * (FixedToFloat<8>(0xccccc) / nMass); + hitactor->vel += pos * (FixedToFloat<10>(0xccccc) / nMass); } if (hitactor->xspr.Push && !hitactor->xspr.state && !hitactor->xspr.isTriggered) trTriggerSprite(hitactor, kCmdSpritePush);