(svn r1640) fix: now helicopters will use a hangar in schedule to be replaced in, even if they are only set to service there. Since helicopters are serviced at helipads, they will only go there if they needs to be replaced or renewed.

This commit is contained in:
bjarni
2005-01-24 18:21:23 +00:00
parent eae329f332
commit 6e2abeba5e
3 changed files with 10 additions and 3 deletions

View File

@@ -180,6 +180,8 @@ struct Vehicle {
int32 profit_last_year;
uint32 value;
bool set_for_replacement; // marks this vehicle to be replaced
union {
VehicleRail rail;
VehicleAir air;