1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00
This commit is contained in:
IntelOrca
2015-08-05 13:36:46 +01:00
parent 2d770093e9
commit a3ff453f40

View File

@@ -1364,7 +1364,7 @@ void ride_construction_set_default_next_piece()
// Set track slope and lift hill
_currentTrackSlopeEnd = slope;
_previousTrackSlopeEnd = slope;
_currentTrackLiftHill = ((mapElement->type & 0x80) && slope != TRACK_SLOPE_DOWN_25 && slope != TRACK_SLOPE_DOWN_60);
_currentTrackLiftHill = ((mapElement->type & 0x80) && slope != TRACK_SLOPE_DOWN_25 && slope != TRACK_SLOPE_DOWN_60) != 0;
break;
case RIDE_CONSTRUCTION_STATE_BACK:
rideIndex = _currentRideIndex;
@@ -1416,7 +1416,7 @@ void ride_construction_set_default_next_piece()
// Set track slope and lift hill
_currentTrackSlopeEnd = slope;
_previousTrackSlopeEnd = slope;
_currentTrackLiftHill = (mapElement->type & 0x80);
_currentTrackLiftHill = (mapElement->type & 0x80) != 0;
break;
}
}