diff options
author | megamage <none@none> | 2009-06-04 16:32:21 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-04 16:32:21 -0500 |
commit | 93a23a7b401d26fe14f0b9b463a2ca19fd2d6f82 (patch) | |
tree | e8afd11075788a97057f56a106bf3dd5e4e72804 /src | |
parent | b390a6b19738899a42144cb32e70b7cd11e037fa (diff) |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 20c0aea62cc..848fff13113 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5496,8 +5496,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger target = GetGuardianPet(); if (!target) return false; - triggered_spell_id = 54181; basepoints0 = damage * 15 / 100; + triggered_spell_id = 54181; break; } switch(dummySpell->Id) |