mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
vcmi: massive refactoring v1
This commit is contained in:
@ -529,7 +529,7 @@ static std::vector<std::shared_ptr<Bonus>> createCreatureSpecialty(CreatureID ba
|
||||
for(CreatureID cid : targets)
|
||||
{
|
||||
const CCreature &specCreature = *VLC->creh->objects[cid];
|
||||
int stepSize = specCreature.level ? specCreature.level : 5;
|
||||
int stepSize = specCreature.getLevel() ? specCreature.getLevel() : 5;
|
||||
|
||||
{
|
||||
std::shared_ptr<Bonus> bonus = std::make_shared<Bonus>();
|
||||
|
Reference in New Issue
Block a user