mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22: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
|
|
@ -7372,7 +7372,7 @@ Unit* Unit::GetCharm() const
|
|||
return pet;
|
||||
|
||||
sLog.outError("Unit::GetCharm: Charmed creature %u not exist.",GUID_LOPART(charm_guid));
|
||||
const_cast<Unit*>(this)->SetCharm(0);
|
||||
const_cast<Unit*>(this)->SetCharm(NULL);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
@ -11436,4 +11436,4 @@ void Unit::NearTeleportTo( float x, float y, float z, float orientation, bool ca
|
|||
BuildHeartBeatMsg(&data);
|
||||
SendMessageToSet(&data, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue