mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +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();
|
computeTotalUpgrade();
|
||||||
map->putUnitCells(this, pos);
|
map->putUnitCells(this, pos);
|
||||||
faction->applyDiscount(morphUnitType, mct->getDiscount());
|
faction->applyDiscount(morphUnitType, mct->getDiscount());
|
||||||
|
faction->applyStaticProduction(morphUnitType);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Reference in New Issue
Block a user