From 5b2c5d77ff1d680e8eae6741da82df9df25728b2 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Tue, 3 Jan 2023 22:39:01 +0100 Subject: [PATCH] WindowRideConstructionOpen: use constants for window width/height --- src/openrct2-ui/windows/RideConstruction.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/openrct2-ui/windows/RideConstruction.cpp b/src/openrct2-ui/windows/RideConstruction.cpp index b7428a9c6d..8586ea6397 100644 --- a/src/openrct2-ui/windows/RideConstruction.cpp +++ b/src/openrct2-ui/windows/RideConstruction.cpp @@ -2783,10 +2783,9 @@ rct_window* WindowRideConstructionOpen() return ContextOpenWindowView(WV_MAZE_CONSTRUCTION); case RideConstructionWindowContext::Default: return WindowCreate( - WindowClass::RideConstruction, ScreenCoordsXY(0, 29), 166, 394, WF_NO_AUTO_CLOSE); + WindowClass::RideConstruction, ScreenCoordsXY(0, 29), WW, WH, WF_NO_AUTO_CLOSE); } - return WindowCreate( - WindowClass::RideConstruction, ScreenCoordsXY(0, 29), 166, 394, WF_NO_AUTO_CLOSE); + return WindowCreate(WindowClass::RideConstruction, ScreenCoordsXY(0, 29), WW, WH, WF_NO_AUTO_CLOSE); } static void CloseConstructWindowOnCompletion(Ride* ride)