Remove nesting

This commit is contained in:
trml 2019-02-11 22:25:51 +01:00
parent 3f9d30af0f
commit b9f301018f

View file

@ -446,11 +446,8 @@ void CPlayer::OnDirectInput(CNetObj_PlayerInput *NewInput)
m_PlayerFlags = NewInput->m_PlayerFlags;
if(m_pCharacter)
{
if(m_Paused)
m_pCharacter->ResetInput();
}
if(m_pCharacter && m_Paused)
m_pCharacter->ResetInput();
if(!m_pCharacter && m_Team != TEAM_SPECTATORS && (NewInput->m_Fire&1))
m_Spawning = true;