aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.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/Creature.cpp
parent4ac0914d81ebad67b63e3b093117cc67cb717d81 (diff)
*Correct check range for totem area auras.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 0de19314ab6..9c27996931d 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -2090,7 +2090,7 @@ bool Creature::LoadCreaturesAddon(bool reload)
}
// skip already applied aura
- if(HasAura(cAura->spell_id,cAura->effect_idx))
+ if(HasAuraEffect(cAura->spell_id,cAura->effect_idx))
{
if(!reload)
sLog.outErrorDb("Creature (GUIDLow: %u Entry: %u ) has duplicate aura (spell %u effect %u) in `auras` field.",GetGUIDLow(),GetEntry(),cAura->spell_id,cAura->effect_idx);