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