aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-08-09 13:00:31 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-26 19:18:46 +0100
commit26894508ef03d9e5ec9ca61eb1f9555adee189a6 (patch)
tree3780c30a9802bab68540440d1938776fc6efc7e8
parent92f17bf40f00f754b09c3caec99159c8a25c9865 (diff)
Core/Misc: Code cleanup
(cherry picked from commit dd28cecda36ed3912be39d0c3caefef910db707d)
-rw-r--r--src/server/scripts/Commands/cs_gm.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/scripts/Commands/cs_gm.cpp b/src/server/scripts/Commands/cs_gm.cpp
index 13f4f0ef788..9954fda3535 100644
--- a/src/server/scripts/Commands/cs_gm.cpp
+++ b/src/server/scripts/Commands/cs_gm.cpp
@@ -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;
}