fix demolish of flat rides and unable to build it again

This commit is contained in:
IntelOrca committed 2015-07-06 22:53:16 +01:00
1 parent f859eefc4b
commit 4acb7ff5e1
1 file changed
+1 -1
+1 -1
View File
@@ -1767,7 +1767,7 @@ static void window_ride_construction_mouseup_demolish(rct_window* w)
if (!sub_6CAF80(_currentRideIndex, &outputElement)) {
sub_6CC3FB(_currentRideIndex);
_currentTrackPieceDirection = _currentTrackPieceDirection;
if (slope & 0x100) {
if (!(slope & 0x100)) {
_currentTrackCurve = slope;
_previousTrackSlopeEnd = slopeEnd;
_currentTrackSlopeEnd = b2;