Level up should not be effect boosts

This commit is contained in:
titiger 2021-11-23 18:17:45 +01:00
parent 3c0858318d
commit e3af470288
1 changed files with 0 additions and 5 deletions

View File

@ -1578,11 +1578,6 @@ void TotalUpgrade::incLevel(const UnitType *ut) {
maxEp += ut->getMaxEp()*50/100;
sight += ut->getSight()*20/100;
armor += ut->getArmor()*50/100;
for(unsigned int index = 0; index < boostUpgrades.size(); ++index) {
TotalUpgrade *boost = boostUpgrades[index];
boost->copyDataFrom(this);
}
}
void TotalUpgrade::saveGame(XmlNode *rootNode) const {