1
0
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:
Gymnasiast
2025-03-26 13:00:54 +01:00
parent 41dc87c68e
commit 2002f697e0
29 changed files with 81 additions and 105 deletions

View File

@@ -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);