From 1ed7bc5f7fee06300b27e214ca78a739ac263b0b Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 4 May 2011 14:51:56 +0000 Subject: Do use the SV_Game{Error,Print} functions (#4972) --- src/server/sv_game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/sv_game.c') 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(); -- cgit