aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
Diffstat (limited to 'code/game')
-rw-r--r--code/game/bg_lib.c2
-rw-r--r--code/game/g_main.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/code/game/bg_lib.c b/code/game/bg_lib.c
index e313087..88a2c88 100644
--- a/code/game/bg_lib.c
+++ b/code/game/bg_lib.c
@@ -1257,7 +1257,7 @@ reswitch:
break;
case 'f':
AddFloat( &buf_p, *(double *)arg, width, prec );
-#ifdef __LCC__
+#ifdef Q3_VM
arg += 1; // everything is 32 bit in my compiler
#else
arg += 2;
diff --git a/code/game/g_main.c b/code/game/g_main.c
index 8b8f954..a8819ff 100644
--- a/code/game/g_main.c
+++ b/code/game/g_main.c
@@ -536,9 +536,6 @@ void G_ShutdownGame( int restart ) {
//===================================================================
-#ifndef GAME_HARD_LINKED
-// this is only here so the functions in q_shared.c and bg_*.c can link
-
void QDECL Com_Error ( int level, const char *error, ... ) {
va_list argptr;
char text[1024];
@@ -561,8 +558,6 @@ void QDECL Com_Printf( const char *msg, ... ) {
G_Printf ("%s", text);
}
-#endif
-
/*
========================================================================