mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Replaced undescriptive bool true/false with more clear enum for
absolute/relative change via netpacks
This commit is contained in:
@@ -386,7 +386,7 @@ void CGDwelling::updateGuards(IGameEventCallback & gameEvents) const
|
||||
csc.army = this->id;
|
||||
csc.slot = slot;
|
||||
csc.count = crea->getGrowth() * 3;
|
||||
csc.absoluteValue = true;
|
||||
csc.mode = ChangeValueMode::ABSOLUTE;
|
||||
gameEvents.sendAndApply(csc);
|
||||
}
|
||||
else //slot is empty, create whole new stack
|
||||
|
||||
Reference in New Issue
Block a user