Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
void 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
75
PackedBoolArray ListTeam(Team team)
76
{
Callers
1
ResetHUD
Method · 0.85
Calls
1
GetGTeams
Function · 0.85
Tested by
no test coverage detected