mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
Exhumed: fixed radial damage push factor.
The original did 'bsin(x) >> 3' with vel being Q18.14 and bsin also returning Q18.14. So for fully floatified values we still must multiply by 1/8, not 128.
This commit is contained in:
parent
ff0cb2f580
commit
40265e649f
1 changed files with 1 additions and 1 deletions
|
@ -1790,7 +1790,7 @@ int runlist_CheckRadialDamage(DExhumedActor* pActor)
|
|||
}
|
||||
else
|
||||
{
|
||||
pActor->vel.XY() += nVel.XY() * 128.;
|
||||
pActor->vel.XY() += nVel.XY() * 0.125;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue