MCPcopy Create free account
hub / github.com/ddnet/ddnet / SetDDRaceState

Method SetDDRaceState

src/game/server/teams.cpp:671–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671void CGameTeams::SetDDRaceState(CPlayer *Player, ERaceState DDRaceState)
672{
673 if(!Player)
674 return;
675
676 CCharacter *pChar = Player->GetCharacter();
677 if(pChar)
678 pChar->m_DDRaceState = DDRaceState;
679}
680
681int CGameTeams::GetStartTime(CPlayer *Player)
682{

Callers

nothing calls this directly

Calls 1

GetCharacterMethod · 0.80

Tested by

no test coverage detected