- Duke: Fix issue stemming from - only use the floatified version of findplayer..

* This value must be floored.
* Fixes E2L1's space ship projectile timing.
This commit is contained in:
Mitchell Richters 2022-10-04 00:00:52 +11:00 committed by Christoph Oelckers
parent 1096344cae
commit 132864ec8d

View file

@ -5215,7 +5215,7 @@ void movefta(void)
if (xx < 30000 / 16.)
{
act->timetosleep++;
if (act->timetosleep >= xx / 16.)
if (act->timetosleep >= int(xx / 16.))
{
if (badguy(act))
{