[8951] Fixed loading locales_gossip_menu_option.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Qowyn 2009-12-08 22:14:19 +03:00 committed by VladimirMangos
parent e150887b86
commit d604b0a120
2 changed files with 3 additions and 3 deletions

View file

@ -376,7 +376,7 @@ void ObjectMgr::LoadGossipMenuItemsLocales()
for(int i = 1; i < MAX_LOCALE; ++i) 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()) if(!str.empty())
{ {
int idx = GetOrNewIndexForLocale(LocaleConstant(i)); int idx = GetOrNewIndexForLocale(LocaleConstant(i));
@ -388,7 +388,7 @@ void ObjectMgr::LoadGossipMenuItemsLocales()
data.OptionText[idx] = str; data.OptionText[idx] = str;
} }
} }
str = fields[1+2*(i-1)+1].GetCppString(); str = fields[2+2*(i-1)+1].GetCppString();
if(!str.empty()) if(!str.empty())
{ {
int idx = GetOrNewIndexForLocale(LocaleConstant(i)); int idx = GetOrNewIndexForLocale(LocaleConstant(i));

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8950" #define REVISION_NR "8951"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__