- fixed: FastProjectile's movement code was missong a portal check.

This commit is contained in:
Christoph Oelckers 2017-08-12 13:55:33 +02:00
commit 4483d665d4
3 changed files with 10 additions and 0 deletions

View file

@ -4036,6 +4036,14 @@ void AActor::CheckPortalTransition(bool islinked)
if (islinked && moved) LinkToWorld(&ctx);
}
DEFINE_ACTION_FUNCTION(AActor, CheckPortalTransition)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_BOOL_DEF(linked);
self->CheckPortalTransition(linked);
return 0;
}
//
// P_MobjThinker
//