Browse Source

Added new bonus icon

Ivan Savenko 1 year ago
parent
commit
c31d52bff6
1 changed files with 3 additions and 0 deletions
  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)
 		if (bonus->subtype == BonusCustomSubtype::damageTypeRanged)
 			fileName = "DamageReductionRanged.bmp";
 			fileName = "DamageReductionRanged.bmp";
 
 
+		if (bonus->subtype == BonusCustomSubtype::damageTypeAll)
+			fileName = "DamageReductionAll.bmp";
+
 		break;
 		break;
 	}
 	}