From a5ee1ddb563b8870030e1a61b239cf7c7aaa017e Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Fri, 19 Feb 2016 01:29:30 +0100 Subject: [PATCH] More fixes --- src/windows/ride_construction.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/windows/ride_construction.c b/src/windows/ride_construction.c index 9ace453179..3f20ccba01 100644 --- a/src/windows/ride_construction.c +++ b/src/windows/ride_construction.c @@ -3276,7 +3276,7 @@ static bool sub_6CA2DF_get_dh(uint8 *dh) { return true; } - if (ax == 4) { + if (ax == TRACK_CURVE_RIGHT_SMALL) { if (bl != bh) { if (bl == 0 && bh == 2 && cl == 4) { *dh = 0xB3; @@ -3310,13 +3310,18 @@ static bool sub_6CA2DF_get_dh(uint8 *dh) { return true; } - *dh = 0x68; + *dh = 0x60; if (bh == 4) { return true; } - *dh = 0x0F; - if (bh == 0x12) { + *dh = 0xFC; + if (bh == 18) { + return true; + } + + *dh = 0xFA; + if (bh == 10) { return true; }