Last return isn't necessary

This commit is contained in:
Learath 2019-05-14 02:16:51 +02:00
parent 546016092d
commit 551397117b

View file

@ -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(