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

Function resetpickups

source/src/entities.cpp:438–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438void resetpickups(int type)
439{
440 loopv(ents) if(type < 0 || type == ents[i].type) ents[i].spawned = false;
441 if(m_noitemsnade || m_pistol)
442 {
443 loopv(ents) ents[i].transformtype(gamemode);
444 }
445}
446
447void setpickupspawn(int i, bool on)
448{

Callers 1

parsemessagesFunction · 0.85

Calls 2

transformtypeMethod · 0.80
loopvFunction · 0.70

Tested by

no test coverage detected