Fix refactor error in MiniGolf.cpp

This commit is contained in:
Michael Steenbeek committed 2017-10-09 15:33:34 +02:00
1 parent 2fd4d39456
commit e25d6b807d
1 file changed
+2 -2
+2 -2
View File
@@ -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 };