From 5c0efda0ef811b2bafedb2b4f53b083a9b90e1b4 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 16 May 2006 20:41:57 +0000 Subject: * Removal of bot code * Refactored botlib parsing code into qcommon --- src/server/sv_ccmds.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/server/sv_ccmds.c') diff --git a/src/server/sv_ccmds.c b/src/server/sv_ccmds.c index 0e016056..a89b0f21 100644 --- a/src/server/sv_ccmds.c +++ b/src/server/sv_ccmds.c @@ -210,7 +210,6 @@ static void SV_MapRestart_f( void ) { int i; client_t *client; char *denied; - qboolean isBot; int delay; // make sure we aren't restarting twice in the same frame @@ -290,17 +289,11 @@ static void SV_MapRestart_f( void ) { continue; } - if ( client->netchan.remoteAddress.type == NA_BOT ) { - isBot = qtrue; - } else { - isBot = qfalse; - } - // add the map_restart command SV_AddServerCommand( client, "map_restart\n" ); // connect the client again, without the firstTime flag - denied = VM_ExplicitArgPtr( gvm, VM_Call( gvm, GAME_CLIENT_CONNECT, i, qfalse, isBot ) ); + denied = VM_ExplicitArgPtr( gvm, VM_Call( gvm, GAME_CLIENT_CONNECT, i, qfalse ) ); if ( denied ) { // this generally shouldn't happen, because the client // was connected before the level change -- cgit