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:
@@ -773,7 +773,7 @@ void ShortcutManager::RegisterDefaultShortcuts()
|
||||
{
|
||||
windowMgr->Close(*window);
|
||||
}
|
||||
else if (InputTestFlag(INPUT_FLAG_TOOL_ACTIVE))
|
||||
else if (gInputFlags.has(InputFlag::toolActive))
|
||||
{
|
||||
ToolCancel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user