浏览代码

Added new bonus icon

Ivan Savenko 1 年之前
父节点
当前提交
c31d52bff6
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      lib/CBonusTypeHandler.cpp

+ 3 - 0
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;
 	}