mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
Use the rotation from the Viewport where applicable
This commit is contained in:
@@ -836,7 +836,7 @@ void WindowScrollToLocation(WindowBase& w, const CoordsXYZ& coords)
|
||||
}
|
||||
}
|
||||
|
||||
auto screenCoords = Translate3DTo2DWithZ(GetCurrentRotation(), coords);
|
||||
auto screenCoords = Translate3DTo2DWithZ(w.viewport->rotation, coords);
|
||||
|
||||
int32_t i = 0;
|
||||
if (!(gScreenFlags & SCREEN_FLAGS_TITLE_DEMO))
|
||||
|
||||
Reference in New Issue
Block a user