(svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot...

This commit is contained in:
rubidium 2007-05-31 16:47:32 +00:00
parent f8da1b6e1a
commit 59c51f9fce
1 changed files with 1 additions and 1 deletions

View File

@ -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 {