Core: fixed typo at locale checking on GameTables loading

This commit is contained in:
moJIto-ice
2016-03-08 11:55:01 +03:00
parent d47f23ef7c
commit 2db53374cf

View File

@@ -252,7 +252,7 @@ inline void LoadGameTable(StoreProblemList& errors, std::string const& tableName
for (uint32 l = 0; l < TOTAL_LOCALES; ++l)
{
if (i != LOCALE_none && tableName == gt->Name->Str[l])
if (l != LOCALE_none && tableName == gt->Name->Str[l])
{
found = true;
storage.SetGameTableEntry(gt);