From b2cd8f363114892442061ada1329223201d2b3ea Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 31 May 2007 18:11:39 +0000 Subject: (svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge. --- src/roadveh_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index a4e503a1b..8e912ad08 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -1417,7 +1417,7 @@ again: v->cur_speed = 0; return; } - } else if (GetRoadTileType(v->tile) == ROAD_TILE_NORMAL && GetDisallowedRoadDirections(v->tile) != DRD_NONE) { + } else if (IsTileType(tile, MP_STREET) && GetRoadTileType(v->tile) == ROAD_TILE_NORMAL && GetDisallowedRoadDirections(v->tile) != DRD_NONE) { v->cur_speed = 0; return; } else { -- cgit v1.2.3-70-g09d2