Use NF instead of normal P_SetMobjState to prevent endless looping

This commit is contained in:
Monster Iestyn 2017-05-07 22:21:17 +01:00
parent 20351a103e
commit 41130465b4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}