Skip to content

Commit

Permalink
[8951] Fixed loading locales_gossip_menu_option.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
Qowyn authored and VladimirMangos committed Dec 8, 2009
1 parent 1ed8013 commit 05c92f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/ObjectMgr.cpp
Expand Up @@ -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));
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8950"
#define REVISION_NR "8951"
#endif // __REVISION_NR_H__

0 comments on commit 05c92f6

Please sign in to comment.