mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Replace gConsoleOpen with function
This commit is contained in:
@@ -350,7 +350,7 @@ public:
|
||||
_cursorState.y = (sint32)(e.motion.y / gConfigGeneral.window_scale);
|
||||
break;
|
||||
case SDL_MOUSEWHEEL:
|
||||
if (gConsoleOpen)
|
||||
if (console_is_open())
|
||||
{
|
||||
console_scroll(e.wheel.y * 3); // Scroll 3 lines at a time
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user