Changeset - r14009:a5e0a5fd2820
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-12-20 11:22:36
rubidium@openttd.org
(svn r18561) -Fix [FS#3390]: Do try to overtake a vehicle in a station as overtaking in a station is not allowed
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -862,7 +862,7 @@ static void RoadVehCheckOvertake(RoadVeh
 
	if (v->roadtype == ROADTYPE_TRAM) return;
 

	
 
	/* Don't overtake in stations */
 
	if (IsTileType(v->tile, MP_STATION)) return;
 
	if (IsTileType(v->tile, MP_STATION) || IsTileType(u->tile, MP_STATION)) return;
 

	
 
	/* For now, articulated road vehicles can't overtake anything. */
 
	if (v->HasArticulatedPart()) return;
0 comments (0 inline, 0 general)