summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-24 18:21:23 +0000
committerbjarni <bjarni@openttd.org>2005-01-24 18:21:23 +0000
commit6e2abeba5e63496a138f04df72454f2e0dbb8852 (patch)
treeffbebf8eb6c1381bace6bf694fd4523cfc90ce6e /vehicle.h
parenteae329f332d44eba4dc91ca1edd40daa24047200 (diff)
downloadopenttd-6e2abeba5e63496a138f04df72454f2e0dbb8852.tar.xz
(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.
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 1b5c2cee6..2f582630a 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -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;