summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-07-17 20:09:02 +0000
committerhackykid <hackykid@openttd.org>2005-07-17 20:09:02 +0000
commit1d11bbb34da6bb1cfd8d8351f61940c92027ed55 (patch)
tree2aa47a2f10516c02b42213645730108be6987d02 /vehicle.h
parenteabc48218413f5d3e9e26d3675e32055af8cfc61 (diff)
downloadopenttd-1d11bbb34da6bb1cfd8d8351f61940c92027ed55.tar.xz
(svn r2625) - Fix: [pbs] Store the end of a train's reserved path explicitly. Prevents trains from unreserving eachothers paths in some cases.
- CodeChange: Use the TrackdirToTrack function instead of &7, and remove an unneeded variable.
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 a413426af..1391bdc3e 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -70,6 +70,8 @@ typedef struct VehicleRail {
byte flags;
byte pbs_status;
+ TileIndex pbs_end_tile;
+ Trackdir pbs_end_trackdir;
} VehicleRail;
enum {