[7526] Use NULL for pointers instead 0

This commit is contained in:
VladimirMangos 2009-03-23 17:36:57 +03:00
parent e09435326f
commit fa098236af
4 changed files with 6 additions and 6 deletions

View file

@ -3090,7 +3090,7 @@ void Aura::HandleModPossess(bool apply, bool Real)
m_target->SetUInt32Value(UNIT_FIELD_FACTIONTEMPLATE,cinfo->faction_A);
}
caster->SetCharm(0);
caster->SetCharm(NULL);
if(caster->GetTypeId() == TYPEID_PLAYER)
{
@ -3246,7 +3246,7 @@ void Aura::HandleModCharm(bool apply, bool Real)
}
}
caster->SetCharm(0);
caster->SetCharm(NULL);
if(caster->GetTypeId() == TYPEID_PLAYER)
{