diff options
author | darkvater <darkvater@openttd.org> | 2004-09-14 01:21:07 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-14 01:21:07 +0000 |
commit | bf703a0e825c16d07cf64f62ace41ff8b9bd69c0 (patch) | |
tree | cb5704e43e9954b1ccb64ff71ccd664d49cb0deb /road_cmd.c | |
parent | 72457bac0dd4d20e98a1f7d537316f34a2ec5844 (diff) | |
download | openttd-bf703a0e825c16d07cf64f62ace41ff8b9bd69c0.tar.xz |
(svn r242) -Fix: Pathfinding bug for road vehicles introduced in r160 fixed (blathijs)
-Fix: Pathfinding under bridges bug for ships introduced in r160 fixed (Darkvater)
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/road_cmd.c b/road_cmd.c index 6c98a2c64..8f283ac4c 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -1047,13 +1047,6 @@ static uint32 GetTileTrackStatus_Road(uint tile, TransportType mode) { r *= 0x10001; } return r; - } else if ((b&0xF0) == 0x20) { - /* Depot */ - /* We reverse the dir because it points out of the - * exit, and we want to get in. Maybe we should return - * both dirs here? */ - byte dir = _reverse_dir[b&3]; - return 1 << _dir_to_straight_trackdir[dir]; } } return 0; |