- Exhumed: fixed grenade bouncing.

This commit is contained in:
Christoph Oelckers 2022-10-24 20:41:15 +02:00
parent 2df33e7d8a
commit c2e5bdbdce

View file

@ -321,7 +321,7 @@ void AIGrenade::Tick(RunListEvent* ev)
double zVel = pActor->vel.Z;
Gravity(pActor);
auto nMov = movesprite(pActor, pActor->vec, zVel, pActor->fClipdist() / 128., CLIPMASK1);
auto nMov = movesprite(pActor, pActor->vec, pActor->vel.Z, pActor->fClipdist() / 128., CLIPMASK1);
if (!nMov.type && !nMov.exbits)
return;