From c1784b21cc33efdec053786e9adff21f0b3d7c7a Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 17 Feb 2018 12:28:21 +0100 Subject: [PATCH] Pass currentRotation to gPaintSession in TestPaint. --- test/testpaint/TestTrack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testpaint/TestTrack.cpp b/test/testpaint/TestTrack.cpp index 7577b6bdd1..5705cabe40 100644 --- a/test/testpaint/TestTrack.cpp +++ b/test/testpaint/TestTrack.cpp @@ -347,6 +347,7 @@ static uint8 TestTrackElementPaintCalls(uint8 rideType, uint8 trackType, uint8 t for (int currentRotation = 0; currentRotation < 4; currentRotation++) { gCurrentRotation = currentRotation; RCT2_CurrentRotation = currentRotation; + gPaintSession.CurrentRotation = currentRotation; for (int direction = 0; direction < 4; direction++) { RCT2_GLOBAL(0x009DE56A, sint16) = 64; // x RCT2_GLOBAL(0x009DE56E, sint16) = 64; // y