Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
293
void 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
302
void dodynlights()
303
{
Callers
1
~playerent
Method · 0.85
Calls
3
freeblock
Function · 0.85
loopv
Function · 0.70
remove
Method · 0.45
Tested by
no test coverage detected