From d533f839dd904e1f2151975382dbb538e52867a5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 11 Aug 2008 10:02:24 +0000 Subject: [PATCH] - fixed statejump bug in Minotaur. SVN r1152 (trunk) --- src/g_raven/a_minotaur.cpp | 4 ++-- wadsrc/static/actors/raven/minotaur.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/g_raven/a_minotaur.cpp b/src/g_raven/a_minotaur.cpp index f774af899..c91800ba2 100644 --- a/src/g_raven/a_minotaur.cpp +++ b/src/g_raven/a_minotaur.cpp @@ -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 } } diff --git a/wadsrc/static/actors/raven/minotaur.txt b/wadsrc/static/actors/raven/minotaur.txt index 33ae5573c..5e8b476e3 100644 --- a/wadsrc/static/actors/raven/minotaur.txt +++ b/wadsrc/static/actors/raven/minotaur.txt @@ -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: