From 0126b6abbb72d5239a69fc8a225d27aa846136dc Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 22 Sep 2015 21:49:53 -0500 Subject: [PATCH] Fix warnings that vars might not be initialized in CG_MissileHitWall --- code/cgame/cg_weapons.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/cgame/cg_weapons.c b/code/cgame/cg_weapons.c index e3e1431d..1ebcdbd9 100644 --- a/code/cgame/cg_weapons.c +++ b/code/cgame/cg_weapons.c @@ -2444,7 +2444,10 @@ void CG_MissileHitWall(int weapon, int clientNum, vec3_t origin, qboolean alphaFade, isSprite; mod = 0; + mark = 0; shader = 0; + sfx = 0; + radius = 0; light = 0; lightColor[0] = 1; lightColor[1] = 1;