Fixed unmorphed Actors still ticking

This commit is contained in:
Boondorl 2024-05-10 15:33:56 -04:00 committed by Rachael Alexanderson
parent 9129f0121b
commit da4752d7ec

View file

@ -3810,8 +3810,11 @@ void AActor::Tick ()
// Check for Actor unmorphing, but only on the thing that is the morphed Actor.
// Players do their own special checking for this.
if (alternative != nullptr && !(flags & MF_UNMORPHED) && player == nullptr)
if (alternative != nullptr && player == nullptr)
{
if (flags & MF_UNMORPHED)
return;
int res = false;
IFVIRTUAL(AActor, CheckUnmorph)
{