diff options
author | megamage <none@none> | 2009-02-23 21:06:41 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-23 21:06:41 -0600 |
commit | 9d160c855fe950d96386165fe7f6e484b427b89d (patch) | |
tree | e057428c784387ca8ce6a14448c9b8ddefc67f38 /src/game/ObjectMgr.cpp | |
parent | 5fe7b48037c7892c24f5c2f9ea1d18c424ac85e9 (diff) |
[7329] Fixed CastBarCaption localization data loading from DB. Author: wilibald09
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 09c0b127118..7807f365a23 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -5472,9 +5472,9 @@ void ObjectMgr::LoadGameObjectLocales() } } - for(int i = MAX_LOCALE; i < MAX_LOCALE*2-1; ++i) + for(int i = 1; i < MAX_LOCALE; ++i) { - std::string str = fields[i].GetCppString(); + std::string str = fields[i+(MAX_LOCALE-1)].GetCppString(); if(!str.empty()) { int idx = GetOrNewIndexForLocale(LocaleConstant(i)); |