MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ClearTeams

Function ClearTeams

engine/Poseidon/UI/InGame/InGameUIActions.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void ClearTeams()
64{
65 Team* GTeams = GetGTeams();
66#ifdef __ICL
67#pragma novector
68#endif
69 for (int i = 0; i < MAX_UNITS_PER_GROUP; i++)
70 {
71 GTeams[i] = TeamMain;
72 }
73}
74
75PackedBoolArray ListTeam(Team team)
76{

Callers 1

ResetHUDMethod · 0.85

Calls 1

GetGTeamsFunction · 0.85

Tested by

no test coverage detected