1
0
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:
Matt
2019-06-15 17:01:41 +02:00
parent c677a9681a
commit b046d45c01
7 changed files with 16 additions and 12 deletions

View File

@@ -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