From 59c51f9fcef0fdce968613cb55721867e301cf01 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 31 May 2007 16:47:32 +0000 Subject: (svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot... --- src/roadveh_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-70-g09d2