Closed GoogleCodeExporter closed 9 years ago
Original comment by lowerlo...@gmail.com
on 18 Jan 2010 at 2:18
You can access the upgrade by watching TrainingQueue of the upgrading building.
For example, I've written the function:
bool IsBuildingReady(const Unit* building)
{
if (building != NULL)
return (building->exists()) && (building->isCompleted() || building-
>getTrainingQueue().size()>0); else
return false;
}
Original comment by tai...@nm.ru
on 23 Jan 2010 at 2:28
Original comment by AHeinerm
on 28 Jan 2010 at 9:48
Original comment by lowerlo...@gmail.com
on 7 Mar 2010 at 6:12
Fixed in r2113.
Original comment by lowerlo...@gmail.com
on 7 Mar 2010 at 6:55
Original issue reported on code.google.com by
darkp...@gmail.com
on 15 Jan 2010 at 8:51