mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fixed creeps regenerating casualties from won battle at the start of new week.
This commit is contained in:
parent
bdd71b4f38
commit
3e351f029c
@ -2997,6 +2997,8 @@ void CGCreature::endBattle( BattleResult *result ) const
|
||||
else
|
||||
cb->moveStack (StackLocation(this, i->first), StackLocation(this, slot), i->second->count);
|
||||
}
|
||||
|
||||
cb->setObjProperty(id, ObjProperty::MONSTER_POWER, stacks.begin()->second->count * 1000); //remember casualties
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user