aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2010-01-19 12:07:51 +0100
committerRat <none@none>2010-01-19 12:07:51 +0100
commit727fbbef07b589e8c73db04029f3f4073ca5e256 (patch)
treeb6ede5967b5e9d9dff5bab964b85bb64eb7d5105 /src
parent0cc053ea4d42ce405a915857f75ee00f0f65666b (diff)
*fix event reset bug for quest The Light of Dawn, Fixes issue #108.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/scripts/eastern_kingdoms/scarlet_enclave/chapter5.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/scripts/eastern_kingdoms/scarlet_enclave/chapter5.cpp b/src/scripts/eastern_kingdoms/scarlet_enclave/chapter5.cpp
index 36d10d44161..6e97f4b831f 100644
--- a/src/scripts/eastern_kingdoms/scarlet_enclave/chapter5.cpp
+++ b/src/scripts/eastern_kingdoms/scarlet_enclave/chapter5.cpp
@@ -577,6 +577,12 @@ struct TRINITY_DLL_DECL npc_highlord_darion_mograineAI : public npc_escortAI
}
}
+ void EnterEvadeMode()
+ {
+ if(!bIsBattle)//do not reset self if we are in battle
+ npc_escortAI::EnterEvadeMode();
+ }
+
void UpdateAI(const uint32 diff)
{
npc_escortAI::UpdateAI(diff);