mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Misc: minor typo and codestyle fixes
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user