Core/Misc: minor typo and codestyle fixes

This commit is contained in:
Aokromes
2017-12-14 13:41:06 +01:00
parent f7fd109066
commit 4b48d0dfdc
5 changed files with 12 additions and 11 deletions

View File

@@ -3144,7 +3144,7 @@ bool InstanceMap::AddPlayerToMap(Player* player)
// increase current instances (hourly limit)
if (!group || !group->isLFGGroup())
player->AddInstanceEnterTime(GetInstanceId(), time(NULL));
player->AddInstanceEnterTime(GetInstanceId(), time(nullptr));
// get or create an instance save for the map
InstanceSave* mapSave = sInstanceSaveMgr->GetInstanceSave(GetInstanceId());