mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 12:12:25 +01:00
fixed bug (found my MumuM) related to ep regen and attackboost
This commit is contained in:
parent
4930ec109d
commit
c1fb997a8b
@ -608,7 +608,7 @@ void TotalUpgrade::deapply(const UpgradeTypeBase *ut,const Unit *unit) {
|
||||
else {
|
||||
maxEp -= ut->getMaxEp();
|
||||
if(ut->getMaxEpRegeneration() != 0) {
|
||||
maxEpRegeneration += ut->getMaxEpRegeneration();
|
||||
maxEpRegeneration -= ut->getMaxEpRegeneration();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user