forked from rosebudai/OpenRCT2-Web
Use the rotation from the Viewport where applicable
This commit is contained in:
9 files changed
+39
-32
No files matched your search
@@ -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