WindowRideConstructionOpen: use constants for window width/height

This commit is contained in:
Gymnasiast 2023-01-03 22:39:01 +01:00
parent 4b34bbcf7c
commit 5b2c5d77ff
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 2 additions and 3 deletions

View File

@ -2783,10 +2783,9 @@ rct_window* WindowRideConstructionOpen()
return ContextOpenWindowView(WV_MAZE_CONSTRUCTION);
case RideConstructionWindowContext::Default:
return WindowCreate<RideConstructionWindow>(
WindowClass::RideConstruction, ScreenCoordsXY(0, 29), 166, 394, WF_NO_AUTO_CLOSE);
WindowClass::RideConstruction, ScreenCoordsXY(0, 29), WW, WH, WF_NO_AUTO_CLOSE);
}
return WindowCreate<RideConstructionWindow>(
WindowClass::RideConstruction, ScreenCoordsXY(0, 29), 166, 394, WF_NO_AUTO_CLOSE);
return WindowCreate<RideConstructionWindow>(WindowClass::RideConstruction, ScreenCoordsXY(0, 29), WW, WH, WF_NO_AUTO_CLOSE);
}
static void CloseConstructWindowOnCompletion(Ride* ride)