mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 12:11:21 +00:00
- Blood: fixed application of push velocity.
This commit is contained in:
parent
432021b8e7
commit
dce0afe499
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue