1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Close #12456: Refactor INPUT_STATE to use strong enum (#12484)

This commit is contained in:
frutiemax
2020-07-27 18:51:10 -04:00
committed by GitHub
parent 6a191224b5
commit af0fc89cf4
10 changed files with 62 additions and 62 deletions

View File

@@ -165,7 +165,7 @@ void GameState::Update()
UpdateLogic();
if (gGameSpeed == 1)
{
if (input_get_state() == INPUT_STATE_RESET || input_get_state() == INPUT_STATE_NORMAL)
if (input_get_state() == InputState::Reset || input_get_state() == InputState::Normal)
{
if (input_test_flag(INPUT_FLAG_VIEWPORT_SCROLLING))
{