mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7329] Fixed CastBarCaption localization data loading from DB.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
3441c28998
commit
373af9905d
2 changed files with 3 additions and 3 deletions
|
|
@ -5298,9 +5298,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));
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7328"
|
||||
#define REVISION_NR "7329"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue