(svn r22661) -Fix (r22659): Silence a gcc warning.

This commit is contained in:
frosch 2011-07-12 16:36:53 +00:00
parent 44b49269fc
commit 7ec119a574
1 changed files with 1 additions and 1 deletions

View File

@ -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;