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:
Christoph Oelckers 2023-11-05 14:39:49 +01:00
parent ff0cb2f580
commit 40265e649f

View file

@ -1790,7 +1790,7 @@ int runlist_CheckRadialDamage(DExhumedActor* pActor)
}
else
{
pActor->vel.XY() += nVel.XY() * 128.;
pActor->vel.XY() += nVel.XY() * 0.125;
}
}
}