aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorAokromes <none@none>2009-05-12 08:22:06 +0200
committerAokromes <none@none>2009-05-12 08:22:06 +0200
commita882c4538a59d4aa042ca78a234f640b35cefcd2 (patch)
tree30f2928dcaa075235c3149246d5fb49a4cfca618 /src/game/World.cpp
parenta9349e06ba77c6a8502f98765ef90119ee52aca5 (diff)
New configuration option: GM.Visible
regulates visibility of GM at login. --HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index a58103ef437..7517fb0b96d 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -762,6 +762,7 @@ void World::LoadConfigSettings(bool reload)
}
m_configs[CONFIG_GM_LOGIN_STATE] = sConfig.GetIntDefault("GM.LoginState",2);
+ m_configs[CONFIG_GM_VISIBLE_STATE] = sConfig.GetIntDefault("GM.Visible", 2);
m_configs[CONFIG_GM_CHAT] = sConfig.GetIntDefault("GM.Chat",2);
m_configs[CONFIG_GM_WISPERING_TO] = sConfig.GetIntDefault("GM.WhisperingTo",2);
m_configs[CONFIG_GM_IN_GM_LIST] = sConfig.GetBoolDefault("GM.InGMList",false);