Source/ThunderBeast/QuakeToon/server/sv_main.c
void SV_DropClient (client_t *drop)
{
	// add the disconnect
	MSG_WriteByte (&drop->netchan.message, svc_disconnect);

	if (drop->state == cs_spawned)
	{
		// call the prog function for removing a client
		// this will remove the body, among other things
		ge->ClientDisconnect (drop->edict);
	}

	if (drop->download)
	{
		FS_FreeFile (drop->download);
		drop->download = NULL;
	}

	drop->state = cs_zombie;		// become free in a few seconds
	drop->name[0] = 0;
}
/*
=====================
SV_DropClient

Called when the player is totally leaving the server, either willingly
or unwillingly.  This is NOT called if the entire server is quiting
or crashing.
=====================
*/
SV_DropClient
Called when the player is totally leaving the server, either willingly
or unwillingly.  This is NOT called if the entire server is quiting
or crashing.
SV_DropClient Called when the player is totally leaving the server either willingly or unwillingly . This is NOT called if the entire server is quiting or crashing .
void SV_DropClient (client_t *drop)
{
	MSG_WriteByte (&drop->netchan.message, svc_disconnect);
	if (drop->state == cs_spawned)
	{
		ge->ClientDisconnect (drop->edict);
	}
	if (drop->download)
	{
		FS_FreeFile (drop->download);
		drop->download = NULL;
	}
	drop->state = cs_zombie;		
	drop->name[0] = 0;
}
void SV_DropClient ( client_t * drop ) { MSG_WriteByte ( & drop -> netchan . message , svc_disconnect ) ; if ( drop -> state == cs_spawned ) { ge -> ClientDisconnect ( drop -> edict ) ; } if ( drop -> download ) { FS_FreeFile ( drop -> download ) ; drop -> download = NULL ; } drop -> state = cs_zombie ; drop -> name [ 0 ] = 0 ; }
SV_DropClient
Called when the player is totally leaving the server, either willingly
or unwillingly.
SV_DropClient Called when the player is totally leaving the server either willingly or unwillingly .
// add the disconnect // call the prog function for removing a client // this will remove the body, among other things // become free in a few seconds