mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
@@ -227,12 +227,6 @@ void WindowSetWindowLimit(int32_t value)
|
|||||||
*/
|
*/
|
||||||
void WindowClose(WindowBase& w)
|
void WindowClose(WindowBase& w)
|
||||||
{
|
{
|
||||||
if (!w.CanClose())
|
|
||||||
{
|
|
||||||
// Something's preventing this window from closing -- bail out early
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
w.OnClose();
|
w.OnClose();
|
||||||
|
|
||||||
// Remove viewport
|
// Remove viewport
|
||||||
|
|||||||
Reference in New Issue
Block a user