Skip to content

Commit

Permalink
Do use the SV_Game{Error,Print} functions (#4972)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Schulz committed May 4, 2011
1 parent bd2f6db commit 1062c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/server/sv_game.c
Expand Up @@ -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();
Expand Down

0 comments on commit 1062c1b

Please sign in to comment.