From b1d0ca06476000335bfc0cb762d228b548e1716c Mon Sep 17 00:00:00 2001 From: Warkdev Date: Wed, 5 Apr 2017 20:34:15 +0200 Subject: [PATCH] Fixing a bug that made the DBC enUS being ignored while they are valid. (#122) --- src/game/WorldHandlers/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/World.cpp b/src/game/WorldHandlers/World.cpp index c70f3dc3f..6246501eb 100644 --- a/src/game/WorldHandlers/World.cpp +++ b/src/game/WorldHandlers/World.cpp @@ -1705,7 +1705,7 @@ void World::DetectDBCLang() // get the DBC Locale int uLocale = ReadDBCLocale(m_dataPath); - if (!uLocale) + if (uLocale == -1) { sLog.outError("Unable to determine your DBC Locale! (corrupt or missing component.wow-.txt file)"); Log::WaitBeforeContinueIfNeed();