r1427 - in trunk: . code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 16 03:15:16 EDT 2008


Author: ludwig
Date: 2008-07-16 03:15:09 -0400 (Wed, 16 Jul 2008)
New Revision: 1427

Modified:
   trunk/Makefile
   trunk/code/client/cl_scrn.c
Log:
fix build without VOIP (David Severwright, bug#3720)

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2008-07-16 07:15:01 UTC (rev 1426)
+++ trunk/Makefile	2008-07-16 07:15:09 UTC (rev 1427)
@@ -1356,6 +1356,7 @@
     $(B)/client/snapvectora.o
 endif
 
+ifeq ($(USE_VOIP),1)
 ifeq ($(USE_INTERNAL_SPEEX),1)
 Q3OBJ += \
   $(B)/client/bits.o \
@@ -1399,6 +1400,7 @@
   $(B)/client/vq.o \
   $(B)/client/window.o
 endif
+endif
 
 
 ifeq ($(HAVE_VM_COMPILED),true)

Modified: trunk/code/client/cl_scrn.c
===================================================================
--- trunk/code/client/cl_scrn.c	2008-07-16 07:15:01 UTC (rev 1426)
+++ trunk/code/client/cl_scrn.c	2008-07-16 07:15:09 UTC (rev 1427)
@@ -343,6 +343,7 @@
 }
 
 
+#ifdef USE_VOIP
 /*
 =================
 SCR_DrawVoipMeter
@@ -381,6 +382,7 @@
 	sprintf( string, "VoIP: [%s]", buffer );
 	SCR_DrawStringExt( 320 - strlen( string ) * 4, 10, 8, string, g_color_table[7], qtrue, qfalse );
 }
+#endif
 
 
 




More information about the quake3-commits mailing list