parent
1f16a068e9
commit
527bbf80d5
2 changed files with 4 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue