From b4beb0c69f82413d498886a0867675c410c8c19c Mon Sep 17 00:00:00 2001 From: Hielke Morsink Date: Thu, 6 Apr 2023 07:33:29 +0200 Subject: [PATCH] Fix #19839: Game freezes on protected rides tab (#19840) --- src/openrct2-ui/windows/EditorObjectiveOptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2-ui/windows/EditorObjectiveOptions.cpp b/src/openrct2-ui/windows/EditorObjectiveOptions.cpp index 9c019ac3d3..271c2d4d34 100644 --- a/src/openrct2-ui/windows/EditorObjectiveOptions.cpp +++ b/src/openrct2-ui/windows/EditorObjectiveOptions.cpp @@ -254,7 +254,7 @@ public: { if (page == WINDOW_EDITOR_OBJECTIVE_OPTIONS_PAGE_RIDES) { - OnScrollMouseOver(scrollIndex, screenCoords); + OnScrollMouseOverRides(scrollIndex, screenCoords); } } @@ -262,7 +262,7 @@ public: { if (page == WINDOW_EDITOR_OBJECTIVE_OPTIONS_PAGE_RIDES) { - OnScrollDraw(scrollIndex, dpi); + OnScrollDrawRides(&dpi, scrollIndex); } }