mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
* fix static resource production on unit morph
This commit is contained in:
parent
635bf616de
commit
9d8bb49a1b
@ -1299,6 +1299,7 @@ bool Unit::morph(const MorphCommandType *mct){
|
||||
computeTotalUpgrade();
|
||||
map->putUnitCells(this, pos);
|
||||
faction->applyDiscount(morphUnitType, mct->getDiscount());
|
||||
faction->applyStaticProduction(morphUnitType);
|
||||
return true;
|
||||
}
|
||||
else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user