New config option added

- Added config to enable/disable Minigob Manabonk.
 - Dalaran Wintergrap mage no longer yells if the event has been disabled.
This commit is contained in:
talamortis
2018-07-29 23:08:56 +01:00
parent 4e27109cea
commit 78e1407f7a
5 changed files with 22 additions and 0 deletions
+1
View File
@@ -1298,6 +1298,7 @@ void World::LoadConfigSettings(bool reload)
m_int_configs[CONFIG_WINTERGRASP_RESTART_AFTER_CRASH] = sConfigMgr->GetIntDefault("Wintergrasp.CrashRestartTimer", 10);
m_int_configs[CONFIG_BIRTHDAY_TIME] = sConfigMgr->GetIntDefault("BirthdayTime", 1222964635);
m_bool_configs[CONFIG_MINIGOB_MANABONK] = sConfigMgr->GetBoolDefault("Minigob.Manabonk.Enable", true);
// call ScriptMgr if we're reloading the configuration
sScriptMgr->OnAfterConfigLoad(reload);
+1
View File
@@ -324,6 +324,7 @@ enum WorldIntConfigs
CONFIG_WARDEN_NUM_MEM_CHECKS,
CONFIG_WARDEN_NUM_OTHER_CHECKS,
CONFIG_BIRTHDAY_TIME,
CONFIG_MINIGOB_MANABONK,
INT_CONFIG_VALUE_COUNT
};