File diff r17854:d152f10ceee9 → r17855:ef86bb998ddc
src/newgrf_station.cpp
Show inline comments
 
@@ -684,7 +684,7 @@ CommandCost PerformStationTileSlopeCheck
 
	NewStationResolver(&object, statspec, NULL, cur_tile);
 

	
 
	object.callback        = CBID_STATION_LAND_SLOPE_CHECK;
 
	object.callback_param1 = slope << 4 | slope ^ (axis == AXIS_Y && HasBit(slope, CORNER_W) != HasBit(slope, CORNER_E) ? SLOPE_EW : 0);
 
	object.callback_param1 = slope << 4 | (slope ^ (axis == AXIS_Y && HasBit(slope, CORNER_W) != HasBit(slope, CORNER_E) ? SLOPE_EW : 0));
 
	object.callback_param2 = numtracks << 24 | plat_len << 16 | (axis == AXIS_Y ? TileX(diff) << 8 | TileY(diff) : TileY(diff) << 8 | TileX(diff));
 
	object.u.station.axis  = axis;