aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);