[7329] Fixed CastBarCaption localization data loading from DB. Author: wilibald09
--HG-- branch : trunk
This commit is contained in:
@@ -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())
|
if(!str.empty())
|
||||||
{
|
{
|
||||||
int idx = GetOrNewIndexForLocale(LocaleConstant(i));
|
int idx = GetOrNewIndexForLocale(LocaleConstant(i));
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7328"
|
#define REVISION_NR "7329"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|||||||
Reference in New Issue
Block a user