aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 69dda6638d8..b06f02e90b5 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1711,7 +1711,7 @@ void World::SetInitialWorldSettings()
void World::DetectDBCLang()
{
- uint16 m_lang_confid = sConfig.GetIntDefault("DBC.Locale", 255);
+ uint8 m_lang_confid = sConfig.GetIntDefault("DBC.Locale", 255);
if (m_lang_confid != 255 && m_lang_confid >= MAX_LOCALE)
{