[quake3-commits] r1960 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed May 4 10:51:56 EDT 2011


Author: thilo
Date: 2011-05-04 10:51:56 -0400 (Wed, 04 May 2011)
New Revision: 1960

Modified:
   trunk/code/server/sv_game.c
Log:
Do use the SV_Game{Error,Print} functions (#4972)


Modified: trunk/code/server/sv_game.c
===================================================================
--- trunk/code/server/sv_game.c	2011-05-02 22:01:39 UTC (rev 1959)
+++ trunk/code/server/sv_game.c	2011-05-04 14:51:56 UTC (rev 1960)
@@ -300,10 +300,10 @@
 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();



More information about the quake3-commits mailing list