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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user