summaryrefslogtreecommitdiff
path: root/src/server/sv_ccmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-05-16 20:41:57 +0000
committerTim Angus <tim@ngus.net>2006-05-16 20:41:57 +0000
commit5c0efda0ef811b2bafedb2b4f53b083a9b90e1b4 (patch)
tree972db3bf7fabe5293b383bb51fcb1aa74cc0e309 /src/server/sv_ccmds.c
parentf68a49a146f20c7b6fc8e19dd1c4e6d58cf473e9 (diff)
* Removal of bot code
* Refactored botlib parsing code into qcommon
Diffstat (limited to 'src/server/sv_ccmds.c')
-rw-r--r--src/server/sv_ccmds.c9
1 files changed, 1 insertions, 8 deletions
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