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

Function spawnplayer

source/src/clientgame.cpp:772–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772void spawnplayer(playerent *d)
773{
774 d->respawn();
775 d->spawnstate(gamemode);
776 d->state = (d==player1 && editmode) ? CS_EDITING : CS_ALIVE;
777 findplayerstart(d);
778}
779
780void respawnself()
781{

Callers 3

respawnselfFunction · 0.85
SpawnMethod · 0.85
SpawnMethod · 0.85

Calls 3

findplayerstartFunction · 0.85
respawnMethod · 0.45
spawnstateMethod · 0.45

Tested by

no test coverage detected