mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[7526] Use NULL for pointers instead 0
This commit is contained in:
parent
e09435326f
commit
fa098236af
4 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue