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

Function particlereset

source/src/renderparticles.cpp:210–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void particlereset()
211{
212 loopi(MAXPARTYPES)
213 {
214 while(parlist[i])
215 {
216 particle *p = parlist[i];
217 parlist[i] = p->next;
218 p->next = parempty;
219 parempty = p;
220 }
221 }
222}
223
224void newparticle(const vec &o, const vec &d, int fade, int type)
225{

Callers 1

resetmapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected