mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
Added new bonus icon
This commit is contained in:
parent
cf9a4a580b
commit
c31d52bff6
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user