diff --git a/src/ride/ride.c b/src/ride/ride.c index ddfc76a9bd..3a639759b1 100644 --- a/src/ride/ride.c +++ b/src/ride/ride.c @@ -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; } }