diff options
| author | sucofog <4pdcvicente@gmail.com> | 2017-11-14 22:50:25 +0100 |
|---|---|---|
| committer | sucofog <4pdcvicente@gmail.com> | 2017-11-14 22:50:25 +0100 |
| commit | 3b73e99ec8c511707cb096e2607a18f1ef95b8fe (patch) | |
| tree | 7b85a379832ca68ba3d2a0d18e6e16e8caa7a179 /src/scripts/Commands/cs_lookup.cpp | |
| parent | 1ea009e255dc371e5d0d3b98a0b33867a0927cb8 (diff) | |
| parent | e772b08c6808bae29db96ed2f51ee5b34d768da4 (diff) | |
Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk
Diffstat (limited to 'src/scripts/Commands/cs_lookup.cpp')
| -rw-r--r-- | src/scripts/Commands/cs_lookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_lookup.cpp b/src/scripts/Commands/cs_lookup.cpp index d81ce581da..60f5ce165c 100644 --- a/src/scripts/Commands/cs_lookup.cpp +++ b/src/scripts/Commands/cs_lookup.cpp @@ -86,9 +86,9 @@ public: wstrToLower(wNamePart); // Search in AreaTable.dbc - for (uint32 areaflag = 0; areaflag < sAreaStore.GetNumRows(); ++areaflag) + for (uint32 i = 0; i < sAreaTableStore.GetNumRows(); ++i) { - AreaTableEntry const* areaEntry = sAreaStore.LookupEntry(areaflag); + AreaTableEntry const* areaEntry = sAreaTableStore.LookupEntry(i); if (areaEntry) { int locale = handler->GetSessionDbcLocale(); |
