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

Function loopv

source/src/physics.cpp:305–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303 if(d->type!=ENT_CAMERA)
304 {
305 loopv(players) // collide with other players
306 {
307 playerent *o = players[i];
308 if(!o || o==d) continue;
309 if(plcollide(d, o, headspace, hi, lo)) return true;
310 }
311 if(d!=player1) if(plcollide(d, player1, headspace, hi, lo)) return true;
312 }
313

Callers

nothing calls this directly

Calls 1

plcollideFunction · 0.85

Tested by

no test coverage detected