src/rail_cmd.cpp
changeset 10213 23cfd330ccac
parent 9302 4aa3c4a44b16
child 10221 faef62283f5f
equal deleted inserted replaced
10209:13cb37e961f6 10213:23cfd330ccac
  2266 	byte fract_coord_leave;
  2266 	byte fract_coord_leave;
  2267 	DiagDirection dir;
  2267 	DiagDirection dir;
  2268 	int length;
  2268 	int length;
  2269 
  2269 
  2270 	/* this routine applies only to trains in depot tiles */
  2270 	/* this routine applies only to trains in depot tiles */
  2271 	if (v->type != VEH_TRAIN || !IsTileDepotType(tile, TRANSPORT_RAIL)) return VETSB_CONTINUE;
  2271 	if (v->type != VEH_TRAIN || !IsDepotTypeTile(tile, TRANSPORT_RAIL)) return VETSB_CONTINUE;
  2272 
  2272 
  2273 	/* depot direction */
  2273 	/* depot direction */
  2274 	dir = GetRailDepotDirection(tile);
  2274 	dir = GetRailDepotDirection(tile);
  2275 
  2275 
  2276 	/* calculate the point where the following wagon should be activated */
  2276 	/* calculate the point where the following wagon should be activated */