aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
-rw-r--r--src/game/CreatureEventAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp
index 2cc5d4f14cc..729cee20fb9 100644
--- a/src/game/CreatureEventAI.cpp
+++ b/src/game/CreatureEventAI.cpp
@@ -1617,7 +1617,7 @@ void CreatureEventAI::ReceiveEmote(Player* pPlayer, uint32 text_emote)
bProcess = true;
break;
case CONDITION_AURA: // spell_id effindex
- if (pPlayer->HasAura((*itr).Event.event_param3,(*itr).Event.event_param4))
+ if (pPlayer->HasAuraEffect((*itr).Event.event_param3,(*itr).Event.event_param4))
bProcess = true;
break;
case CONDITION_ITEM: // item_id count