summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2016-08-26 14:24:27 +0200
committerShinDarth <borzifrancesco@gmail.com>2016-08-26 14:24:27 +0200
commit527bbf80d53d2ba2b79ca7e91436d03e04d19f56 (patch)
treebb23b18d2814b6124aea029dea5cf02091a0cf09 /src
parent1f16a068e99ae9841666e4d58e6efa405d4090c1 (diff)
Build: fixed some warnings
- Closes #108
Diffstat (limited to 'src')
-rw-r--r--src/game/Server/WorldSession.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Server/WorldSession.cpp b/src/game/Server/WorldSession.cpp
index e07ba35333..fac6ac4bfb 100644
--- a/src/game/Server/WorldSession.cpp
+++ b/src/game/Server/WorldSession.cpp
@@ -1081,9 +1081,9 @@ void WorldSession::InitializeQueryCallbackParameters()
{
// Callback parameters that have pointers in them should be properly
// initialized to NULL here.
- _charCreateCallback.SetParam(NULL);
- _loadPetFromDBFirstCallback.SetFirstParam(NULL);
- _loadPetFromDBFirstCallback.SetSecondParam(NULL);
+ _charCreateCallback.SetParam(nullptr);
+ _loadPetFromDBFirstCallback.SetFirstParam(0);
+ _loadPetFromDBFirstCallback.SetSecondParam(nullptr);
}
void WorldSession::ProcessQueryCallbacks()