summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-11-01 17:20:06 +0000
committerbjarni <bjarni@openttd.org>2005-11-01 17:20:06 +0000
commit40f624f0e8bdaf0c6f9ac6407e4119d45ba1859d (patch)
tree799602b7a33dc494b8aa7be27c8a630f31213715 /vehicle.h
parent93914d34724cbd3e8fa0055cd69d4065037b08e6 (diff)
downloadopenttd-40f624f0e8bdaf0c6f9ac6407e4119d45ba1859d.tar.xz
(svn r3116) -Fix: [autoreplace] fixed issue where autorenewing/autoreplacing a plane could lock up an airport
this will not fix already locked up airports this bug was introduced in rev 3111
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index b1d3d81fe..78156caa0 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -166,6 +166,7 @@ struct Vehicle {
int32 x_pos; // coordinates
int32 y_pos;
+ bool leave_depot_instantly; // NOSAVE: stores if the vehicle needs to leave the depot it just entered. Used by autoreplace
byte z_pos;
byte direction; // facing