[ioquake3] 03/136: Redundant #ifndef MISSIONPACK block

Simon McVittie smcv at debian.org
Thu Jun 15 09:08:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 0c3879f1926bfa1a2745b5fee0e0ab771f362b3a
Author: Wolf <wolfwings at wolfwings.us>
Date:   Wed Feb 1 12:33:55 2017 -0600

    Redundant #ifndef MISSIONPACK block
    
    MISSIONPACK define is already required for this file or else it triggers an #error at the top of the file - removing redundant test that will never occur.
---
 code/cgame/cg_newdraw.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/code/cgame/cg_newdraw.c b/code/cgame/cg_newdraw.c
index 85c8040..a2749b2 100644
--- a/code/cgame/cg_newdraw.c
+++ b/code/cgame/cg_newdraw.c
@@ -199,15 +199,6 @@ static void CG_DrawPlayerArmorValue(rectDef_t *rect, float scale, vec4_t color,
 	}
 }
 
-#ifndef MISSIONPACK
-static float healthColors[4][4] = { 
-//		{ 0.2, 1.0, 0.2, 1.0 } , { 1.0, 0.2, 0.2, 1.0 }, {0.5, 0.5, 0.5, 1} };
-  { 1.0f, 0.69f, 0.0f, 1.0f } ,		// normal
-  { 1.0f, 0.2f, 0.2f, 1.0f },		// low health
-  { 0.5f, 0.5f, 0.5f, 1.0f},		// weapon firing
-  { 1.0f, 1.0f, 1.0f, 1.0f } };		// health > 100
-#endif
-
 static void CG_DrawPlayerAmmoIcon( rectDef_t *rect, qboolean draw2D ) {
 	centity_t	*cent;
 	vec3_t		angles;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list