Fix cheat to finish every map in less than a second

This commit is contained in:
def 2013-08-14 20:12:53 +02:00
parent af69765063
commit f3415c2aa5

View file

@ -26,8 +26,8 @@ void CGameTeams::OnCharacterStart(int ClientID)
CCharacter* pStartingChar = Character(ClientID);
if (!pStartingChar)
return;
if (pStartingChar->m_DDRaceState == DDRACE_FINISHED)
pStartingChar->m_DDRaceState = DDRACE_NONE;
if (m_Core.Team(ClientID) != TEAM_FLOCK && pStartingChar->m_DDRaceState == DDRACE_FINISHED)
return;
if (m_Core.Team(ClientID) == TEAM_FLOCK
|| m_Core.Team(ClientID) == TEAM_SUPER)
{