mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Renamed new types for consistency with code style
This commit is contained in:
@@ -93,7 +93,7 @@ SecondarySkill CSkill::getId() const
|
||||
void CSkill::addNewBonus(const std::shared_ptr<Bonus> & b, int level)
|
||||
{
|
||||
b->source = BonusSource::SECONDARY_SKILL;
|
||||
b->sid = TBonusSourceID(id);
|
||||
b->sid = BonusSourceID(id);
|
||||
b->duration = BonusDuration::PERMANENT;
|
||||
b->description = getNameTranslated();
|
||||
levels[level-1].effects.push_back(b);
|
||||
|
||||
Reference in New Issue
Block a user