diff options
author | rubidium <rubidium@openttd.org> | 2007-05-31 16:47:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-31 16:47:32 +0000 |
commit | f7f289667d8f8b705b4ea695615f892dbf08a5dd (patch) | |
tree | aceebc5ebca0d077c9d7c8a5049060e9ac795af2 /src | |
parent | 78151810d7cade6d6599d3c8a70b73ef8104a4d4 (diff) | |
download | openttd-f7f289667d8f8b705b4ea695615f892dbf08a5dd.tar.xz |
(svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot...
Diffstat (limited to 'src')
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 2cb240a76..a4e503a1b 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -1417,7 +1417,7 @@ again: v->cur_speed = 0; return; } - } else if (GetDisallowedRoadDirections(v->tile) != DRD_NONE) { + } else if (GetRoadTileType(v->tile) == ROAD_TILE_NORMAL && GetDisallowedRoadDirections(v->tile) != DRD_NONE) { v->cur_speed = 0; return; } else { |