[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

@ -537,7 +537,7 @@ void WorldSession::HandleSelfResOpcode( WorldPacket & /*recv_data*/ )
{
SpellEntry const *spellInfo = sSpellStore.LookupEntry(_player->GetUInt32Value(PLAYER_SELF_RES_SPELL));
if(spellInfo)
_player->CastSpell(_player,spellInfo,false,0);
_player->CastSpell(_player, spellInfo, false);
_player->SetUInt32Value(PLAYER_SELF_RES_SPELL, 0);
}