mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8951] Fixed loading locales_gossip_menu_option.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e150887b86
commit
d604b0a120
2 changed files with 3 additions and 3 deletions
|
|
@ -376,7 +376,7 @@ void ObjectMgr::LoadGossipMenuItemsLocales()
|
|||
|
||||
for(int i = 1; i < MAX_LOCALE; ++i)
|
||||
{
|
||||
std::string str = fields[1+2*(i-1)].GetCppString();
|
||||
std::string str = fields[2+2*(i-1)].GetCppString();
|
||||
if(!str.empty())
|
||||
{
|
||||
int idx = GetOrNewIndexForLocale(LocaleConstant(i));
|
||||
|
|
@ -388,7 +388,7 @@ void ObjectMgr::LoadGossipMenuItemsLocales()
|
|||
data.OptionText[idx] = str;
|
||||
}
|
||||
}
|
||||
str = fields[1+2*(i-1)+1].GetCppString();
|
||||
str = fields[2+2*(i-1)+1].GetCppString();
|
||||
if(!str.empty())
|
||||
{
|
||||
int idx = GetOrNewIndexForLocale(LocaleConstant(i));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue