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

Method removeobj

source/src/tools.h:468–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466 }
467
468 void removeobj(const T &o)
469 {
470 loopi(ulen) if(buf[i]==o) remove(i--);
471 }
472
473 void replacewithlast(const T &o)
474 {

Callers 6

releasesourceMethod · 0.80
shiftweaponFunction · 0.80
loopvrevFunction · 0.80
addzipmodFunction · 0.80
zipmodremoveFunction · 0.80
purgeMethod · 0.80

Calls 1

loopiFunction · 0.70

Tested by

no test coverage detected