Core/Misc: minor typo and codestyle fixes

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

No files matched your search

+1 -1
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());