*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-04 16:32:21 -05:00
parent b390a6b197
commit 93a23a7b40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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)