1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix refactor error in MiniGolf.cpp

This commit is contained in:
Michael Steenbeek
2017-10-09 15:33:34 +02:00
parent 2fd4d39456
commit e25d6b807d

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 };