mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Remove nesting
This commit is contained in:
parent
3f9d30af0f
commit
b9f301018f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue