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 | |
parent | 5fe7b48037c7892c24f5c2f9ea1d18c424ac85e9 (diff) |
[7329] Fixed CastBarCaption localization data loading from DB. Author: wilibald09
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 | ||||
-rw-r--r-- | src/shared/revision_nr.h | 2 |
2 files changed, 3 insertions, 3 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)); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index bbb37f52cf3..f0ea8050dad 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7328" + #define REVISION_NR "7329" #endif // __REVISION_NR_H__ |