mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Last return isn't necessary
This commit is contained in:
parent
546016092d
commit
551397117b
|
@ -87,10 +87,8 @@ bool CPlayers::IsOtherTeam(int ClientID)
|
|||
return m_pClient->m_Teams.Team(ClientID) != m_pClient->m_Teams.Team(m_pClient->m_Snap.m_SpecInfo.m_SpectatorID);
|
||||
else if((m_pClient->m_aClients[m_pClient->m_Snap.m_LocalClientID].m_Solo || m_pClient->m_aClients[ClientID].m_Solo) && !Local)
|
||||
return true;
|
||||
else
|
||||
return m_pClient->m_Teams.Team(ClientID) != m_pClient->m_Teams.Team(m_pClient->m_Snap.m_LocalClientID);
|
||||
|
||||
return false;
|
||||
return m_pClient->m_Teams.Team(ClientID) != m_pClient->m_Teams.Team(m_pClient->m_Snap.m_LocalClientID);
|
||||
}
|
||||
|
||||
void CPlayers::RenderHook(
|
||||
|
|
Loading…
Reference in a new issue