File diff r4724:bb69fd326337 → r4725:3a289e38fda7
rail_cmd.c
Show inline comments
 
@@ -2003,13 +2003,13 @@ static uint32 VehicleEnter_Track(Vehicle
 
		if (DiagDirToDir(ReverseDiagDir(dir)) == v->direction) {
 
			/* enter the depot */
 
			v->u.rail.track = 0x80,
 
			v->vehstatus |= VS_HIDDEN; /* hide it */
 
			v->direction = ReverseDir(v->direction);
 
			if (v->next == NULL)
 
				TrainEnterDepot(v, tile);
 
				VehicleEnterDepot(v);
 
			v->tile = tile;
 
			InvalidateWindow(WC_VEHICLE_DEPOT, tile);
 
			return 4;
 
		}
 
	} else if (fract_coord_leave == fract_coord) {
 
		if (DiagDirToDir(dir) == v->direction) {