Merge pull request #16749 from soulfrost/6.x

Core: fixed typo at locale checking on GameTables loading
This commit is contained in:
Shauren
2016-03-08 10:12:30 +01:00

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);