From 1062c1b87b9e1d9112e87a4db5577070d7023c51 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 4 May 2011 14:51:56 +0000 Subject: [PATCH] Do use the SV_Game{Error,Print} functions (#4972) --- code/server/sv_game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/server/sv_game.c b/code/server/sv_game.c index 3f09033d..203cad6f 100644 --- a/code/server/sv_game.c +++ b/code/server/sv_game.c @@ -300,10 +300,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();