summaryrefslogtreecommitdiff
path: root/src/game/g_svcmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-07-31 21:50:12 +0000
committerTim Angus <tim@ngus.net>2006-07-31 21:50:12 +0000
commit68da0ee4bead3a36b5057471a30414f11cc01577 (patch)
treee2c647fc80d7559fd432ee4bf3edecb356c86ee1 /src/game/g_svcmds.c
parentae15fd3f111ba37c32a273e65b6a2ee35b579c86 (diff)
* tjw's spiffy admin system (tjw, obviously)
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r--src/game/g_svcmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index 63234aba..df3824fb 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -576,6 +576,10 @@ qboolean ConsoleCommand( void )
return qtrue;
}
+
+ // see if this is a a admin command
+ if( G_admin_cmd_check( NULL, qfalse ) )
+ return qtrue;
if( g_dedicated.integer )
{