From e25d6b807dbbfbd555d3e2cffbc7e7d85f00ac1d Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Mon, 9 Oct 2017 15:33:34 +0200 Subject: [PATCH] Fix refactor error in MiniGolf.cpp --- src/openrct2/ride/gentle/MiniGolf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/ride/gentle/MiniGolf.cpp b/src/openrct2/ride/gentle/MiniGolf.cpp index d64d79a2c8..9056b0f12e 100644 --- a/src/openrct2/ride/gentle/MiniGolf.cpp +++ b/src/openrct2/ride/gentle/MiniGolf.cpp @@ -908,7 +908,7 @@ static void paint_mini_golf_hole_d(paint_session * session, uint8 rideIndex, uin break; } - if (direction & 1) + if (supportType & 1) { boundBox = { 26, 32 }; boundBoxOffset = { 3, 0 }; @@ -1000,7 +1000,7 @@ static void paint_mini_golf_hole_e(paint_session * session, uint8 rideIndex, uin break; } - if (direction & 1) + if (supportType & 1) { boundBox = { 26, 32 }; boundBoxOffset = { 3, 0 };