aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-04 16:32:21 -0500
committermegamage <none@none>2009-06-04 16:32:21 -0500
commit93a23a7b401d26fe14f0b9b463a2ca19fd2d6f82 (patch)
treee8afd11075788a97057f56a106bf3dd5e4e72804 /src/game/SpellAuras.cpp
parentb390a6b19738899a42144cb32e70b7cd11e037fa (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index d90389bdd0e..6d446896b67 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -6639,7 +6639,7 @@ void AuraEffect::PeriodicDummyTick()
std::list<Unit*> targets;
{
// eff_radius ==0
- float radius = GetSpellMaxRange(sSpellRangeStore.LookupEntry(spell->rangeIndex));
+ float radius = GetSpellMaxRange(spell, false);
CellPair p(MaNGOS::ComputeCellPair(caster->GetPositionX(),caster->GetPositionY()));
Cell cell(p);