Core/Misc: Code cleanup

(cherry picked from commit dd28cecda36ed3912be39d0c3caefef910db707d)
This commit is contained in:
jackpoz
2022-01-26 19:18:46 +01:00
committed by Shauren
parent 92f17bf40f
commit 26894508ef
-8
View File
@@ -256,10 +256,6 @@ public:
_player->SetGameMaster(true);
handler->GetSession()->SendNotification(LANG_GM_ON);
_player->UpdateTriggerVisibility();
#ifdef _DEBUG_VMAPS
VMAP::IVMapManager* vMapManager = VMAP::VMapFactory::createOrGetVMapManager();
vMapManager->processCommand("stoplog");
#endif
return true;
}
@@ -268,10 +264,6 @@ public:
_player->SetGameMaster(false);
handler->GetSession()->SendNotification(LANG_GM_OFF);
_player->UpdateTriggerVisibility();
#ifdef _DEBUG_VMAPS
VMAP::IVMapManager* vMapManager = VMAP::VMapFactory::createOrGetVMapManager();
vMapManager->processCommand("startlog");
#endif
return true;
}