File diff r22847:9493041c47ee → r22848:fca1207f7d32
src/roadveh_cmd.cpp
Show inline comments
 
@@ -1446,13 +1446,13 @@ again:
 
		 * Note, if vehicle is loading/unloading it has already been handled,
 
		 * so if we get here the vehicle has just arrived or is just ready to leave. */
 
		if (!HasBit(v->state, RVS_ENTERED_STOP)) {
 
			/* Vehicle has arrived at a bay in a road stop */
 

	
 
			if (IsDriveThroughStopTile(v->tile)) {
 
				TileIndex next_tile = TILE_ADD(v->tile, TileOffsByDir(v->direction));
 
				TileIndex next_tile = TileAddByDir(v->tile, v->direction);
 

	
 
				/* Check if next inline bay is free and has compatible road. */
 
				if (RoadStop::IsDriveThroughRoadStopContinuation(v->tile, next_tile) && (GetRoadTypes(next_tile) & v->compatible_roadtypes) != 0) {
 
					v->frame++;
 
					v->x_pos = x;
 
					v->y_pos = y;