From 7ec119a5740d44eb27d5fbfee24f7c04c9b0c7a0 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 12 Jul 2011 16:36:53 +0000 Subject: (svn r22661) -Fix (r22659): Silence a gcc warning. --- src/newgrf_station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index f5236159d..4a6535e27 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -684,7 +684,7 @@ CommandCost PerformStationTileSlopeCheck(TileIndex north_tile, TileIndex cur_til 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; -- cgit v1.2.3-70-g09d2