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

Function forcedeath

source/src/server.cpp:3003–3010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3001}
3002
3003void forcedeath(client *cl)
3004{
3005 sdropflag(cl->clientnum);
3006 cl->state.state = CS_DEAD;
3007 cl->state.lastdeath = sg->gamemillis;
3008 cl->state.respawn();
3009 sendf(-1, 1, "rii", SV_FORCEDEATH, cl->clientnum);
3010}
3011
3012int checktype(int type, client *cl)
3013{

Callers 3

updateclientteamFunction · 0.85
startgameFunction · 0.85
processFunction · 0.85

Calls 3

sdropflagFunction · 0.85
sendfFunction · 0.85
respawnMethod · 0.45

Tested by

no test coverage detected