From a3ff453f402b0d8fa8f9bd68fc59621894ecf1b0 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Wed, 5 Aug 2015 13:36:46 +0100 Subject: [PATCH] fix #1667 --- src/ride/ride.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }