mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
*fix event reset bug for quest The Light of Dawn, Fixes issue #108.
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user