[quake3-commits] r2199 - trunk/code/cgame

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Nov 18 16:36:59 EST 2011


Author: ztm
Date: 2011-11-18 16:36:59 -0500 (Fri, 18 Nov 2011)
New Revision: 2199

Modified:
   trunk/code/cgame/cg_view.c
Log:
Disable blood on HUD when com_blood is 0.

Modified: trunk/code/cgame/cg_view.c
===================================================================
--- trunk/code/cgame/cg_view.c	2011-11-18 12:47:42 UTC (rev 2198)
+++ trunk/code/cgame/cg_view.c	2011-11-18 21:36:59 UTC (rev 2199)
@@ -556,6 +556,10 @@
 	int			maxTime;
 	refEntity_t		ent;
 
+	if (!cg_blood.integer) {
+		return;
+	}
+
 	if ( !cg.damageValue ) {
 		return;
 	}



More information about the quake3-commits mailing list