mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 11:19:48 +02:00
Chat/Console message appears when an upgrade finishes.
This commit is contained in:
@@ -887,6 +887,8 @@ void Faction::cancelUpgrade(const UpgradeType *ut){
|
||||
|
||||
void Faction::finishUpgrade(const UpgradeType *ut){
|
||||
upgradeManager.finishUpgrade(ut);
|
||||
Console *console=world->getGame()->getConsole();
|
||||
console->addStdMessage("UpgradeFinished",": " + formatString(ut->getName(true)));
|
||||
for(int i=0; i<getUnitCount(); ++i){
|
||||
getUnit(i)->applyUpgrade(ut);
|
||||
}
|
||||
|
Reference in New Issue
Block a user