mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed statejump bug in Minotaur.
SVN r1152 (trunk)
This commit is contained in:
parent
7fc5cd27fd
commit
d533f839dd
2 changed files with 3 additions and 2 deletions
|
@ -385,7 +385,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_MinotaurAtk3)
|
|||
}
|
||||
if (pr_minotauratk3() < 192 && self->special2 == 0)
|
||||
{
|
||||
self->SetState (self->FindState ("Hammer"));
|
||||
self->SetState (self->FindState ("HammerLoop"));
|
||||
self->special2 = 1;
|
||||
}
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_MinotaurLook)
|
|||
if ((mo == master) || (mo == self)) continue;
|
||||
if ((mo->flags5 & MF5_SUMMONEDMONSTER) && (mo->tracer == master)) continue;
|
||||
self->target = mo;
|
||||
break; // Found self to attack
|
||||
break; // Found actor to attack
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ ACTOR Minotaur 9 native
|
|||
MNTR W 7 A_FaceTarget
|
||||
MNTR X 12 A_MinotaurAtk3
|
||||
Goto See
|
||||
HammerLoop:
|
||||
MNTR X 12
|
||||
Loop
|
||||
Charge:
|
||||
|
|
Loading…
Reference in a new issue