From 7f149563f604906db2d59ccb6b337f2ea5728b50 Mon Sep 17 00:00:00 2001 From: Ulukyn Date: Fri, 7 Feb 2020 20:24:10 +0100 Subject: [PATCH] Changed: fixed issue with bad continent names --- code/ryzom/client/src/game_context_menu.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/game_context_menu.cpp b/code/ryzom/client/src/game_context_menu.cpp index 45133de8a..9fbec8c57 100644 --- a/code/ryzom/client/src/game_context_menu.cpp +++ b/code/ryzom/client/src/game_context_menu.cpp @@ -439,15 +439,17 @@ void CGameContextMenu::update() string continent = ContinentMngr.cur()->SheetName; sint8 fameValue = 0; uint fameIndex; - if (continent == "matis.continent") + if (continent == "lesfalaises.continent") fameIndex = CStaticFames::getInstance().getFactionIndex("matis"); else if (continent == "fyros.continent") fameIndex = CStaticFames::getInstance().getFactionIndex("fyros"); else if (continent == "tryker.continent") fameIndex = CStaticFames::getInstance().getFactionIndex("tryker"); - else if (continent == "zorai.continent") + else if (continent == "lepaysmalade.continent") fameIndex = CStaticFames::getInstance().getFactionIndex("zorai"); + getFactionIndex("tryker"), CStaticFames::getInstance().getFactionIndex("zorai")); + if (fameIndex != CStaticFames::INVALID_FACTION_INDEX) { CCDBNodeLeaf *pLeafFame = NLGUI::CDBManager::getInstance()->getDbProp(toString("SERVER:FAME:PLAYER%d:VALUE", fameIndex), false);