summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-05-04 14:51:56 +0000
committerTim Angus <tim@ngus.net>2013-01-09 20:58:12 +0000
commit1ed7bc5f7fee06300b27e214ca78a739ac263b0b (patch)
treeca07f559d673405c0df9cdf2fc54a539161c4b4c /src/server
parent7e1de34b1219abb32a91175fe5f463c0bddd6d25 (diff)
Do use the SV_Game{Error,Print} functions (#4972)
Diffstat (limited to 'src/server')
-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();