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

Function freebotent

source/src/clientgame.cpp:500–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500void freebotent(botent *d)
501{
502 loopv(players) if(players[i]==d)
503 {
504 DELETEP(players[i]);
505 players.remove(i);
506 }
507}
508
509VAR(lastpm, 1, -1, 0);
510void zapplayer(playerent *&d)

Callers 2

loopvFunction · 0.85
kickbotFunction · 0.85

Calls 2

loopvFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected