mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
WindowRideConstructionOpen: use constants for window width/height
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user