mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Renamed new types for consistency with code style
This commit is contained in:
@ -168,10 +168,10 @@ ImagePath CBonusTypeHandler::bonusToGraphics(const std::shared_ptr<Bonus> & bonu
|
||||
}
|
||||
case BonusType::GENERAL_DAMAGE_REDUCTION:
|
||||
{
|
||||
if (bonus->subtype == BonusSubtypeID::damageTypeMelee)
|
||||
if (bonus->subtype == BonusCustomSubtype::damageTypeMelee)
|
||||
fileName = "DamageReductionMelee.bmp";
|
||||
|
||||
if (bonus->subtype == BonusSubtypeID::damageTypeRanged)
|
||||
if (bonus->subtype == BonusCustomSubtype::damageTypeRanged)
|
||||
fileName = "DamageReductionRanged.bmp";
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user