Core/World: fixed another gcc warning
This commit is contained in:
1 parent
bd444eb6e1
commit
2c5b4a80d5
1 file changed
+2
-2
@@ -511,9 +511,9 @@ void World::LoadConfigSettings(bool reload)
|
||||
|
||||
m_defaultDbcLocale = LocaleConstant(sConfigMgr->GetIntDefault("DBC.Locale", 0));
|
||||
|
||||
if (m_defaultDbcLocale >= TOTAL_LOCALES || m_defaultDbcLocale < LOCALE_enUS)
|
||||
if (m_defaultDbcLocale >= TOTAL_LOCALES || m_defaultDbcLocale < LOCALE_NONE)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", "Incorrect DBC.Locale! Must be >= 0 and < %d (set to 0)", TOTAL_LOCALES);
|
||||
TC_LOG_ERROR("server.loading", "Incorrect DBC.Locale! Must be >= 0 and < %d and not %d (set to 0)", TOTAL_LOCALES, LOCALE_NONE);
|
||||
m_defaultDbcLocale = LOCALE_enUS;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user