MCPcopy Create free account
hub / github.com/assaultcube/AC / loopv

Function loopv

source/src/tools.cpp:253–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251 ASSERT(tab.length() == MAS_GRID2);
252 tab.sort(cmpintdesc);
253 loopv(tab)
254 { // sort probe poiints in descending order of area
255 ms.ppv[i] = tab[i].val1;
256 ms.ppa[i] = tab[i].key;
257 #ifndef STANDALONE
258 ms.ppp[i] = tab[i].val2;
259 #endif
260 }
261 return 0;
262}
263

Callers 1

calcentitystatsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected