Ver Fonte

Added new bonus icon

Ivan Savenko há 1 ano atrás
pai
commit
c31d52bff6
1 ficheiros alterados com 3 adições e 0 exclusões
  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;
 	}