From aa99c0230b8d1c9118779c75d5f8c98d5683f1c3 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 4 May 2011 15:39:35 +0000 Subject: - Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973) - Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c --- src/server/sv_game.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/server/sv_game.c') diff --git a/src/server/sv_game.c b/src/server/sv_game.c index 320b7937..bde8fb95 100644 --- a/src/server/sv_game.c +++ b/src/server/sv_game.c @@ -24,14 +24,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "server.h" -void SV_GameError( const char *string ) { - Com_Error( ERR_DROP, "%s", string ); -} - -void SV_GamePrint( const char *string ) { - Com_Printf( "%s", string ); -} - // these functions must be used instead of pointer arithmetic, because // the game allocates gentities with private information after the server shared part int SV_NumForGentity( sharedEntity_t *ent ) { @@ -297,10 +289,10 @@ The module is making a system call intptr_t SV_GameSystemCalls( intptr_t *args ) { switch( args[0] ) { case G_PRINT: - SV_GamePrintf((const char*) VMA(1)); + Com_Printf( "%s", (const char*)VMA(1) ); return 0; case G_ERROR: - SV_GameError((const char*) VMA(1)); + Com_Error( ERR_DROP, "%s", (const char*)VMA(1) ); return 0; case G_MILLISECONDS: return Sys_Milliseconds(); -- cgit