- floatification of G_CheckSpot and a few other things.

This commit is contained in:
Christoph Oelckers 2016-03-26 09:28:00 +01:00
commit 30b57fd7b0
7 changed files with 30 additions and 54 deletions

View file

@ -3349,7 +3349,6 @@ void AActor::Tick ()
AActor *onmo;
int i;
//assert (state != NULL);
if (state == NULL)
@ -6474,7 +6473,7 @@ int AActor::GetGibHealth() const
}
else
{
return -FixedMul(SpawnHealth(), gameinfo.gibfactor);
return -int(SpawnHealth() * gameinfo.gibfactor);
}
}