[9182] Replace 0 with NULL in a few CastSpell calls (removed where not needed)

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-01-15 01:42:31 +01:00
parent 0d6b7f144c
commit dbf0fafbfe
6 changed files with 15 additions and 15 deletions

View file

@ -500,7 +500,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
int chance = (*i)->GetSpellProto()->CalculateSimpleValue(1);
if (roll_chance_i(chance))
// Mind Trauma
m_caster->CastSpell(unitTarget, 48301, true, 0);
m_caster->CastSpell(unitTarget, 48301, true);
break;
}
}
@ -1582,9 +1582,9 @@ void Spell::EffectDummy(uint32 i)
return;
}
if (m_caster->IsFriendlyTo(unitTarget))
m_caster->CastSpell(unitTarget, heal, true, 0);
m_caster->CastSpell(unitTarget, heal, true);
else
m_caster->CastSpell(unitTarget, hurt, true, 0);
m_caster->CastSpell(unitTarget, hurt, true);
return;
}
break;
@ -1800,9 +1800,9 @@ void Spell::EffectDummy(uint32 i)
}
if (m_caster->IsFriendlyTo(unitTarget))
m_caster->CastSpell(unitTarget, heal, true, 0);
m_caster->CastSpell(unitTarget, heal, true);
else
m_caster->CastSpell(unitTarget, hurt, true, 0);
m_caster->CastSpell(unitTarget, hurt, true);
return;
}