newer standards prefer nullptr over NULL - this is most of them but there are others too

This commit is contained in:
DarthArgus
2016-02-15 00:07:31 -06:00
parent 6bb5137dc4
commit 03dc62efba
937 changed files with 14983 additions and 14983 deletions
@@ -157,7 +157,7 @@ void GameConnection::onReceive(const Archive::ByteStream & message)
ca.getStartYaw(),
ca.getTemplateName(),
ca.getTimeSeconds(),
static_cast<int32>(::time(NULL)),
static_cast<int32>(::time(nullptr)),
ConfigConnectionServer::getDisableWorldSnapshot());
client->getClientConnection()->send(startScene, true);
}
@@ -166,7 +166,7 @@ void GameConnection::onReceive(const Archive::ByteStream & message)
// record the time when play started for the character
if (client->getClientConnection()->getStartPlayTime() == 0)
{
client->getClientConnection()->setStartPlayTime(::time(NULL));
client->getClientConnection()->setStartPlayTime(::time(nullptr));
}
// update the play time info on the game server