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

Method evaluateworldobjref

source/src/soundlocation.cpp:84–87  ·  view source on GitHub ↗

enable/disable distance calculations

Source from the content-addressed store, hash-verified

82
83// enable/disable distance calculations
84void location::evaluateworldobjref()
85{
86 src->sourcerelative(ref->nodistance());
87}
88
89// marks itself for deletion if source got lost
90void location::onsourcereassign(source *s)

Callers 1

updatelocationsMethod · 0.80

Calls 2

sourcerelativeMethod · 0.80
nodistanceMethod · 0.80

Tested by

no test coverage detected