aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-20 16:48:35 +0200
committerQAston <none@none>2009-04-20 16:48:35 +0200
commitcc5414f9256ab2d27caa9f08bbb7b453a3155feb (patch)
tree89885b6db912b73641764e6bb1b4a2c51b9cfa51 /src/game/CreatureEventAI.cpp
parent4ac0914d81ebad67b63e3b093117cc67cb717d81 (diff)
*Correct check range for totem area auras.
--HG-- branch : trunk
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