aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r--src/game/Level1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp
index ba82b7aff7b..b06e3628a27 100644
--- a/src/game/Level1.cpp
+++ b/src/game/Level1.cpp
@@ -228,6 +228,7 @@ bool ChatHandler::HandleGMCommand(const char* args)
{
m_session->GetPlayer()->SetGameMaster(true);
m_session->SendNotification(LANG_GM_ON);
+ m_session->GetPlayer()->UpdateTriggerVisibility();
#ifdef _DEBUG_VMAPS
VMAP::IVMapManager *vMapManager = VMAP::VMapFactory::createOrGetVMapManager();
vMapManager->processCommand("stoplog");
@@ -239,6 +240,7 @@ bool ChatHandler::HandleGMCommand(const char* args)
{
m_session->GetPlayer()->SetGameMaster(false);
m_session->SendNotification(LANG_GM_OFF);
+ m_session->GetPlayer()->UpdateTriggerVisibility();
#ifdef _DEBUG_VMAPS
VMAP::IVMapManager *vMapManager = VMAP::VMapFactory::createOrGetVMapManager();
vMapManager->processCommand("startlog");