From 54dad4f7781e68ea92b1af934b45ec52c1b4bb29 Mon Sep 17 00:00:00 2001 From: ztm Date: Fri, 18 Nov 2011 21:36:59 +0000 Subject: [PATCH] Disable blood on HUD when com_blood is 0. git-svn-id: svn://svn.icculus.org/quake3/trunk@2199 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/cgame/cg_view.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/cgame/cg_view.c b/code/cgame/cg_view.c index f31c479..10cc097 100644 --- a/code/cgame/cg_view.c +++ b/code/cgame/cg_view.c @@ -556,6 +556,10 @@ static void CG_DamageBlendBlob( void ) { int maxTime; refEntity_t ent; + if (!cg_blood.integer) { + return; + } + if ( !cg.damageValue ) { return; }