1
0
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:
frutiemax
2020-07-16 17:01:42 -04:00
committed by GitHub
parent 2812be8c9a
commit f49149222e
5 changed files with 8 additions and 8 deletions

View File

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