mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Use NF instead of normal P_SetMobjState to prevent endless looping
This commit is contained in:
parent
20351a103e
commit
41130465b4
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ void A_JetJawChomp(mobj_t *actor)
|
||||||
if (!actor->target || !(actor->target->flags & MF_SHOOTABLE)
|
if (!actor->target || !(actor->target->flags & MF_SHOOTABLE)
|
||||||
|| actor->target->health <= 0 || !P_CheckSight(actor, actor->target))
|
|| actor->target->health <= 0 || !P_CheckSight(actor, actor->target))
|
||||||
{
|
{
|
||||||
P_SetMobjState(actor, actor->info->spawnstate);
|
P_SetMobjStateNF(actor, actor->info->spawnstate);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue