Level up should not be effect boosts
This commit is contained in:
parent
3c0858318d
commit
e3af470288
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue