[quake3-bugzilla] [Bug 4972] Do use the SV_Game{Error, Print} functions
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Tue May 3 15:14:37 EDT 2011
https://bugzilla.icculus.org/show_bug.cgi?id=4972
--- Comment #1 from uZu <uzu at qlone.org> 2011-05-03 15:14:36 EDT ---
diff -Nur ioquake3-1959/code/server/sv_game.c
ioquake3-1959-SV_GamePrintError/code/server/sv_game.c
--- ioquake3-1959/code/server/sv_game.c 2011-05-03 20:43:15.395823771 +0200
+++ ioquake3-1959-SV_GamePrintError/code/server/sv_game.c 2011-05-03
20:52:06.035823768 +0200
@@ -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_GamePrint( (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();
--
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the quake3-bugzilla
mailing list