Fixing a bug that made the DBC enUS being ignored while they are valid. (#122)

This commit is contained in:
Warkdev 2017-04-05 20:34:15 +02:00 committed by Antz
parent fb6a5412d9
commit b1d0ca0647

View file

@ -1705,7 +1705,7 @@ void World::DetectDBCLang()
// get the DBC Locale // get the DBC Locale
int uLocale = ReadDBCLocale(m_dataPath); int uLocale = ReadDBCLocale(m_dataPath);
if (!uLocale) if (uLocale == -1)
{ {
sLog.outError("Unable to determine your DBC Locale! (corrupt or missing component.wow-<locale>.txt file)"); sLog.outError("Unable to determine your DBC Locale! (corrupt or missing component.wow-<locale>.txt file)");
Log::WaitBeforeContinueIfNeed(); Log::WaitBeforeContinueIfNeed();