*Correct check range for totem area auras.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-04-20 16:48:35 +02:00
1 parent 4ac0914d81
commit cc5414f925
14 files changed
+56 -39

No files matched your search

+1 -1
View File
@@ -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