aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoJIto-ice <akriso@i.ua>2016-03-08 11:55:01 +0300
committermoJIto-ice <akriso@i.ua>2016-03-08 11:55:01 +0300
commit2db53374cf4ce4917ef411ad5c4bf9d1940b6675 (patch)
tree698a6f7db67ec181010d6107c0847c85c0c9930e /src
parentd47f23ef7c5b46fa4186b61902aabfd8b824f857 (diff)
Core: fixed typo at locale checking on GameTables loading
Diffstat (limited to 'src')
-rw-r--r--src/server/game/DataStores/DBCStores.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp
index b1a8a1179c6..460a9e5dac2 100644
--- a/src/server/game/DataStores/DBCStores.cpp
+++ b/src/server/game/DataStores/DBCStores.cpp
@@ -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);