mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
* fix static resource production on unit morph
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user