Fixed: Only get news from npcs

storyline/s2e1 Live-791
Ulukyn 5 years ago
parent 99413cff48
commit f9d37a390a

@ -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)

Loading…
Cancel
Save