[7329] Fixed CastBarCaption localization data loading from DB. Author: wilibald09

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-23 21:06:41 -06:00
parent 5fe7b48037
commit 9d160c855f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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));