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

Function removedynlights

source/src/worldlight.cpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void removedynlights(physent *owner)
294{
295 loopv(dlights) if(dlights[i].owner==owner)
296 {
297 freeblock(dlights[i].area);
298 dlights.remove(i--);
299 }
300}
301
302void dodynlights()
303{

Callers 1

~playerentMethod · 0.85

Calls 3

freeblockFunction · 0.85
loopvFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected