mirror of https://github.com/OpenRCT2/OpenRCT2.git
WindowRideConstructionOpen: use constants for window width/height
This commit is contained in:
parent
4b34bbcf7c
commit
5b2c5d77ff
|
@ -2783,10 +2783,9 @@ rct_window* WindowRideConstructionOpen()
|
||||||
return ContextOpenWindowView(WV_MAZE_CONSTRUCTION);
|
return ContextOpenWindowView(WV_MAZE_CONSTRUCTION);
|
||||||
case RideConstructionWindowContext::Default:
|
case RideConstructionWindowContext::Default:
|
||||||
return WindowCreate<RideConstructionWindow>(
|
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>(
|
return WindowCreate<RideConstructionWindow>(WindowClass::RideConstruction, ScreenCoordsXY(0, 29), WW, WH, WF_NO_AUTO_CLOSE);
|
||||||
WindowClass::RideConstruction, ScreenCoordsXY(0, 29), 166, 394, WF_NO_AUTO_CLOSE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CloseConstructWindowOnCompletion(Ride* ride)
|
static void CloseConstructWindowOnCompletion(Ride* ride)
|
||||||
|
|
Loading…
Reference in New Issue