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
|
|
@ -14192,7 +14192,7 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )
|
|||
//Need to call it to initialize m_team (m_team can be calculated from m_race)
|
||||
//Other way is to saves m_team into characters table.
|
||||
setFactionForRace(m_race);
|
||||
SetCharm(0);
|
||||
SetCharm(NULL);
|
||||
|
||||
m_class = fields[5].GetUInt8();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue