mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- this wasn't really a fixed point value - just some scaling factor, so it shouldn't use FixedToFloat.
This commit is contained in:
parent
c94a361788
commit
b29000c9e1
1 changed files with 1 additions and 1 deletions
|
@ -2573,7 +2573,7 @@ static void ConcussSprite(DBloodActor* source, DBloodActor* actor, const DVector
|
|||
|
||||
if (mass > 0)
|
||||
{
|
||||
double size = FixedToFloat<29>(tileWidth(actor->spr.picnum) * actor->spr.xrepeat * tileHeight(actor->spr.picnum) * actor->spr.yrepeat);
|
||||
double size = (tileWidth(actor->spr.picnum) * actor->spr.xrepeat * REPEAT_SCALE * tileHeight(actor->spr.picnum) * actor->spr.yrepeat * REPEAT_SCALE) / 0x20000;
|
||||
actor->vel += vect * Scale(damage, size, mass);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue