Use NF instead of normal P_SetMobjState to prevent endless looping
This commit is contained in:
1 parent
20351a103e
commit
41130465b4
1 file changed
+1
-1
+1
-1
@@ -1102,7 +1102,7 @@ void A_JetJawChomp(mobj_t *actor)
|
||||
if (!actor->target || !(actor->target->flags & MF_SHOOTABLE)
|
||||
|| actor->target->health <= 0 || !P_CheckSight(actor, actor->target))
|
||||
{
|
||||
P_SetMobjState(actor, actor->info->spawnstate);
|
||||
P_SetMobjStateNF(actor, actor->info->spawnstate);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user