File diff r3122:c01e5ea095aa → r3123:3f0d39f0a427
station_cmd.c
Show inline comments
 
@@ -118,7 +118,7 @@ RoadStop* GetRoadStopByTile(TileIndex ti
 
	return rs;
 
}
 

	
 
static uint GetNumRoadStops(const Station* st, RoadStopType type)
 
uint GetNumRoadStops(const Station* st, RoadStopType type)
 
{
 
	uint num = 0;
 
	const RoadStop *rs;
 
@@ -1431,7 +1431,7 @@ static int32 RemoveRoadStop(Station *st,
 
		for (i = 0; i != NUM_SLOTS; i++) {
 
			if (cur_stop->slot[i] != INVALID_VEHICLE) {
 
				Vehicle *v = GetVehicle(cur_stop->slot[i]);
 
				ClearSlot(v, v->u.road.slot);
 
				ClearSlot(v);
 
			}
 
		}