(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.
This commit is contained in:
hackykid
2005-07-17 20:09:02 +00:00
parent eabc482184
commit 1d11bbb34d
6 changed files with 56 additions and 28 deletions

View File

@@ -70,6 +70,8 @@ typedef struct VehicleRail {
byte flags;
byte pbs_status;
TileIndex pbs_end_tile;
Trackdir pbs_end_trackdir;
} VehicleRail;
enum {