From c31d52bff6b682eddb98558c434a368c15fd733f Mon Sep 17 00:00:00 2001 From: Ivan Savenko <saven.ivan@gmail.com> Date: Thu, 18 Jan 2024 17:18:13 +0200 Subject: [PATCH] Added new bonus icon --- lib/CBonusTypeHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/CBonusTypeHandler.cpp b/lib/CBonusTypeHandler.cpp index 66f22cd61..7244c62d2 100644 --- a/lib/CBonusTypeHandler.cpp +++ b/lib/CBonusTypeHandler.cpp @@ -174,6 +174,9 @@ ImagePath CBonusTypeHandler::bonusToGraphics(const std::shared_ptr<Bonus> & bonu if (bonus->subtype == BonusCustomSubtype::damageTypeRanged) fileName = "DamageReductionRanged.bmp"; + if (bonus->subtype == BonusCustomSubtype::damageTypeAll) + fileName = "DamageReductionAll.bmp"; + break; }