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

Method IssueWatchAround

engine/Poseidon/UI/InGame/InGameUI.cpp:2133–2141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2131
2132 AIUnit* unit = nullptr;
2133 for (int i = 0; i < MAX_UNITS_PER_GROUP; i++)
2134 {
2135 AIUnit* u = GetSelectedUnit(i);
2136 if (u)
2137 {
2138 unit = u;
2139 break;
2140 }
2141 }
2142 if (!unit)
2143 {
2144 return;

Callers

nothing calls this directly

Calls 4

IsEmptySelectedUnitsFunction · 0.85
ListSelectedUnitsFunction · 0.85
ClearSelectedUnitsFunction · 0.85
SendStateMethod · 0.80

Tested by

no test coverage detected