mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -26,13 +26,13 @@
|
||||
|
||||
// ======================================================================
|
||||
|
||||
CharacterCreationTracker * CharacterCreationTracker::ms_instance = NULL;
|
||||
CharacterCreationTracker * CharacterCreationTracker::ms_instance = nullptr;
|
||||
|
||||
// ======================================================================
|
||||
|
||||
void CharacterCreationTracker::install()
|
||||
{
|
||||
DEBUG_FATAL(ms_instance != NULL,("Called install() twice.\n"));
|
||||
DEBUG_FATAL(ms_instance != nullptr,("Called install() twice.\n"));
|
||||
ms_instance = new CharacterCreationTracker;
|
||||
ExitChain::add(CharacterCreationTracker::remove,"CharacterCreationTracker::remove");
|
||||
}
|
||||
@@ -354,8 +354,8 @@ void CharacterCreationTracker::setFastCreationLock(StationId account)
|
||||
|
||||
CharacterCreationTracker::CreationRecord::CreationRecord() :
|
||||
m_stage(S_queuedForGameServer),
|
||||
m_gameCreationRequest(NULL),
|
||||
m_loginCreationRequest(NULL),
|
||||
m_gameCreationRequest(nullptr),
|
||||
m_loginCreationRequest(nullptr),
|
||||
m_creationTime(ServerClock::getInstance().getGameTimeSeconds()),
|
||||
m_gameServerId(0),
|
||||
m_loginServerId(0),
|
||||
|
||||
Reference in New Issue
Block a user