Mixed up validity check...

This commit is contained in:
TehRealSalt 2018-11-03 22:53:12 -04:00
parent a4129d22f9
commit 34baa5ae74

View file

@ -8283,7 +8283,7 @@ void A_JawzChase(mobj_t *actor)
if (actor->extravalue1) // Disable looking by setting this
return;
if (actor->target && !P_MobjWasRemoved(actor->target)) // No source!
if (!actor->target || P_MobjWasRemoved(actor->target)) // No source!
return;
player = K_FindJawzTarget(actor, actor->target->player);