diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index 849ec879c..d18024c29 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -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;