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

Function checkselections

source/src/editing.cpp:172–175  ·  view source on GitHub ↗

reset all invalid selections

Source from the content-addressed store, hash-verified

170
171// reset all invalid selections
172void checkselections()
173{
174 loopv(sels) if(!correctsel(sels[i])) sels.remove(i);
175}
176
177// update current selection, or add a new one
178void makesel(bool isnew)

Callers 2

empty_worldFunction · 0.85
restorepositionFunction · 0.85

Calls 3

correctselFunction · 0.85
loopvFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected