Remove unnecessary parentheses from check in 'CHostState::FrameUpdate'

Unnecessary.
This commit is contained in:
Kawe Mazidjatari 2023-06-18 17:06:47 +02:00
parent 0a6fc26529
commit efe119a5f2

View File

@ -162,7 +162,8 @@ void CHostState::FrameUpdate(CHostState* pHostState, double flCurrentTime, float
} }
} }
} while ((oldState != HostStates_t::HS_RUN || (g_pHostState->m_iNextState == HostStates_t::HS_LOAD_GAME && single_frame_shutdown_for_reload->GetBool())) } while (
(oldState != HostStates_t::HS_RUN || g_pHostState->m_iNextState == HostStates_t::HS_LOAD_GAME && single_frame_shutdown_for_reload->GetBool())
&& oldState != HostStates_t::HS_SHUTDOWN && oldState != HostStates_t::HS_SHUTDOWN
&& oldState != HostStates_t::HS_RESTART); && oldState != HostStates_t::HS_RESTART);
} }