mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Clean up code a bit
This commit is contained in:
parent
f6c3586d02
commit
4f323313f3
|
@ -1215,7 +1215,7 @@ void CCharacter::HandleBroadcast()
|
|||
CPlayerData *pData = GameServer()->Score()->PlayerData(m_pPlayer->GetCID());
|
||||
|
||||
if(m_DDRaceState == DDRACE_STARTED && m_CpLastBroadcast != m_CpActive &&
|
||||
m_CpActive > -1 && m_CpTick > Server()->Tick() && (!m_pPlayer->m_ClientVersion) >= VERSION_DDRACE &&
|
||||
m_CpActive > -1 && m_CpTick > Server()->Tick() && m_pPlayer->m_ClientVersion) == VERSION_VANILLA &&
|
||||
pData->m_BestTime && pData->m_aBestCpTime[m_CpActive] != 0)
|
||||
{
|
||||
char aBroadcast[128];
|
||||
|
|
Loading…
Reference in a new issue