summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/sv_game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/sv_game.c b/src/server/sv_game.c
index e6c98f9c..320b7937 100644
--- a/src/server/sv_game.c
+++ b/src/server/sv_game.c
@@ -297,10 +297,10 @@ The module is making a system call
intptr_t SV_GameSystemCalls( intptr_t *args ) {
switch( args[0] ) {
case G_PRINT:
- Com_Printf( "%s", (const char*)VMA(1) );
+ SV_GamePrintf((const char*) VMA(1));
return 0;
case G_ERROR:
- Com_Error( ERR_DROP, "%s", (const char*)VMA(1) );
+ SV_GameError((const char*) VMA(1));
return 0;
case G_MILLISECONDS:
return Sys_Milliseconds();