mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 23:54:35 +00:00
- Fixed: A_MinotaurChase should switch to the Idle state, not the Spawn state.
SVN r4227 (trunk)
This commit is contained in:
parent
77b57e2f98
commit
3bbd255b73
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_MinotaurChase)
|
||||||
if (!self1->target || (self1->target->health <= 0) ||
|
if (!self1->target || (self1->target->health <= 0) ||
|
||||||
!(self1->target->flags&MF_SHOOTABLE))
|
!(self1->target->flags&MF_SHOOTABLE))
|
||||||
{ // look for a new target
|
{ // look for a new target
|
||||||
self1->SetState (self1->FindState ("Spawn"));
|
self1->SetIdle();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue