mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Fix viewport not using the correct rotation in some cases
This commit is contained in:
@@ -190,6 +190,7 @@ void ViewportCreate(WindowBase* w, const ScreenCoordsXY& screenCoords, int32_t w
|
||||
viewport->view_height = zoom.ApplyTo(height);
|
||||
viewport->zoom = zoom;
|
||||
viewport->flags = 0;
|
||||
viewport->rotation = GetCurrentRotation();
|
||||
|
||||
if (gConfigGeneral.AlwaysShowGridlines)
|
||||
viewport->flags |= VIEWPORT_FLAG_GRIDLINES;
|
||||
|
||||
Reference in New Issue
Block a user