From d604b0a12048dd50c2609ddea0d31451dd81f932 Mon Sep 17 00:00:00 2001 From: Qowyn Date: Tue, 8 Dec 2009 22:14:19 +0300 Subject: [PATCH] [8951] Fixed loading `locales_gossip_menu_option`. Signed-off-by: VladimirMangos --- src/game/ObjectMgr.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 117cd0867..d4caed946 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -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)); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 197a61f90..21b763cb5 100644 --- a/src/shared/revision_nr.h +++ b/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__