Clean up code a bit

This commit is contained in:
def 2015-06-22 13:06:14 +02:00
parent f6c3586d02
commit 4f323313f3

View file

@ -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];