diff options
-rw-r--r-- | src/bindings/scripts/scripts/creature/mob_event_ai.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/creature/mob_event_ai.cpp b/src/bindings/scripts/scripts/creature/mob_event_ai.cpp index cd296910d2c..46adc7f91f2 100644 --- a/src/bindings/scripts/scripts/creature/mob_event_ai.cpp +++ b/src/bindings/scripts/scripts/creature/mob_event_ai.cpp @@ -1433,6 +1433,9 @@ CreatureAI* GetAI_mob_eventai(Creature* pCreature) bool ReceiveEmote_mob_eventai(Player* pPlayer, Creature* pCreature, uint32 uiEmote) { + if(pCreature->isCharmed()) + return true; + Mob_EventAI* pTmpCreature = (Mob_EventAI*)(pCreature->AI()); if (pTmpCreature->bEmptyList) |