[7174] Implement new option GM.Visible for set original GM visibility state at login.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Gorlum13 2009-01-25 16:23:53 +03:00 committed by VladimirMangos
parent 939ef7612d
commit 4e72f3bb33
5 changed files with 21 additions and 1 deletions

View file

@ -778,6 +778,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_ACCEPT_TICKETS] = sConfig.GetIntDefault("GM.AcceptTickets", 2);
m_configs[CONFIG_GM_CHAT] = sConfig.GetIntDefault("GM.Chat", 2);
m_configs[CONFIG_GM_WISPERING_TO] = sConfig.GetIntDefault("GM.WhisperingTo", 2);