1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +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

@@ -773,7 +773,7 @@ void ShortcutManager::RegisterDefaultShortcuts()
{
windowMgr->Close(*window);
}
else if (InputTestFlag(INPUT_FLAG_TOOL_ACTIVE))
else if (gInputFlags.has(InputFlag::toolActive))
{
ToolCancel();
}