From 5fa69dcf2fcc8b2c0f2111cc7db62823b4786b20 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sat, 21 Jan 2023 15:58:12 +0200 Subject: [PATCH] Fix description of skill-based bonuses --- lib/CSkillHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CSkillHandler.cpp b/lib/CSkillHandler.cpp index 6e6b03563..ab393cd75 100644 --- a/lib/CSkillHandler.cpp +++ b/lib/CSkillHandler.cpp @@ -103,7 +103,7 @@ void CSkill::addNewBonus(const std::shared_ptr & b, int level) b->source = Bonus::SECONDARY_SKILL; b->sid = id; b->duration = Bonus::PERMANENT; - b->description = getNameTextID(); + b->description = getNameTranslated(); levels[level-1].effects.push_back(b); }