mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-20 14:23:08 +01:00
Refactor INPUT_FLAGS into FlagHolder
This commit is contained in:
@@ -273,7 +273,7 @@ namespace OpenRCT2
|
||||
return;
|
||||
|
||||
// Check window cursor is over
|
||||
if (!(InputTestFlag(INPUT_FLAG_5)))
|
||||
if (!gInputFlags.has(InputFlag::unk5))
|
||||
{
|
||||
auto* windowMgr = GetWindowManager();
|
||||
WindowBase* w = windowMgr->FindFromPoint(cursorState->position);
|
||||
|
||||
Reference in New Issue
Block a user