1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Refactor window functions to take references 2

This commit is contained in:
Hielke Morsink
2022-07-30 22:21:51 +02:00
parent 76c1bc8980
commit c8605a8763
32 changed files with 399 additions and 399 deletions

View File

@@ -434,7 +434,7 @@ public:
frame_no++;
// Check if the mouse is hovering over the list
if (!WidgetIsHighlighted(this, WIDX_SCROLL))
if (!WidgetIsHighlighted(*this, WIDX_SCROLL))
{
_highlightedIndex = -1;
widget_invalidate(this, WIDX_SCROLL);