mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
Refactor window_set_location to use rct_window::SetLocation
This commit is contained in:
@@ -836,12 +836,6 @@ void window_scroll_to_viewport(rct_window* w)
|
||||
window_scroll_to_location(mainWindow, x, y, z);
|
||||
}
|
||||
|
||||
void window_set_location(rct_window* w, int32_t x, int32_t y, int32_t z)
|
||||
{
|
||||
window_scroll_to_location(w, x, y, z);
|
||||
w->flags &= ~WF_SCROLLING_TO_LOCATION;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006E7C9C
|
||||
|
||||
Reference in New Issue
Block a user