mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Close #12245: Use coords objects for SetLocation (Window_internal.h)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
#include "../world/Sprite.h"
|
||||
|
||||
void rct_window::SetLocation(int32_t newX, int32_t newY, int32_t newZ)
|
||||
void rct_window::SetLocation(const CoordsXYZ& coords)
|
||||
{
|
||||
window_scroll_to_location(this, { newX, newY, newZ });
|
||||
window_scroll_to_location(this, coords);
|
||||
flags &= ~WF_SCROLLING_TO_LOCATION;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user