Changeset - r17855:ef86bb998ddc
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-07-12 16:36:53
frosch@openttd.org
(svn r22661) -Fix (r22659): Silence a gcc warning.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
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;
 

	
0 comments (0 inline, 0 general)