From f9d37a390a455fe668b7951e324887ca89636cea Mon Sep 17 00:00:00 2001 From: Ulukyn Date: Wed, 19 Feb 2020 01:41:03 +0100 Subject: [PATCH] Fixed: Only get news from npcs --- code/ryzom/client/src/game_context_menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/game_context_menu.cpp b/code/ryzom/client/src/game_context_menu.cpp index c37c76b17..bab0c42de 100644 --- a/code/ryzom/client/src/game_context_menu.cpp +++ b/code/ryzom/client/src/game_context_menu.cpp @@ -456,10 +456,10 @@ void CGameContextMenu::update() fameValue = pLeafFame->getValue8(); } if (_TextNews) - _TextNews->setActive(selection && !canAttack() && !selection->isForageSource() && fameValue >= -30); + _TextNews->setActive(selection && !canAttack() && selection->isNPC() && fameValue >= -30); if (_TextNewsAgressive) - _TextNewsAgressive->setActive(selection && !canAttack() && !selection->isForageSource() && fameValue < -30); + _TextNewsAgressive->setActive(selection && !canAttack() && selection->isNPC() && fameValue < -30); if (_TextDuel && _TextUnDuel)