1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

renamed & reused CBonusSystemNode::updateBonuses; tweaked updater signature

This commit is contained in:
Henning Koehler
2017-09-10 00:25:55 +12:00
parent 67330efa4a
commit f1fd00f005
4 changed files with 30 additions and 18 deletions

View File

@@ -765,7 +765,7 @@ void BattleInfo::nextRound(int32_t roundNr)
for(CStack * s : stacks)
{
// new turn effects
s->updateBonuses(Bonus::NTurns);
s->reduceBonusDurations(Bonus::NTurns);
s->afterNewRound();
}