summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_game.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/sv_game.c b/src/server/sv_game.c
index 2db7ee3f..95c2ba95 100644
--- a/src/server/sv_game.c
+++ b/src/server/sv_game.c
@@ -443,6 +443,13 @@ intptr_t SV_GameSystemCalls( intptr_t *args ) {
case G_PARSE_SOURCE_FILE_AND_LINE:
return Parse_SourceFileAndLine( args[1], VMA(2), VMA(3) );
+ case G_ADDCOMMAND:
+ Cmd_AddCommand( VMA(1), NULL );
+ return 0;
+ case G_REMOVECOMMAND:
+ Cmd_RemoveCommand( VMA(1) );
+ return 0;
+
case TRAP_MEMSET:
Com_Memset( VMA(1), args[2], args[3] );
return 0;