| 436 | } |
| 437 | |
| 438 | void 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 | |
| 447 | void setpickupspawn(int i, bool on) |
| 448 | { |
no test coverage detected