- replaced ceilingz with a floating point variable, also in FCheckPosition.

This commit is contained in:
Christoph Oelckers 2016-03-20 13:32:53 +01:00
commit ec58e70078
25 changed files with 118 additions and 107 deletions

View file

@ -42,7 +42,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_InquisitorDecide)
}
if (self->target->Z() != self->Z())
{
if (self->_f_Top() + 54*FRACUNIT < self->ceilingz)
if (self->Top() + 54 < self->ceilingz)
{
self->SetState (self->FindState("Jump"));
}