From 7fe24a9cf3db833bbbb4814dd42512519ac0bcdd Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 15 Aug 2005 14:02:43 +0000 Subject: [PATCH] added a default case (Sys_Error) to CL_RocketTrail as recommended by [515] git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5582 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl_particles.c b/cl_particles.c index ef30aad8..25d90792 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -1214,6 +1214,8 @@ void CL_RocketTrail (vec3_t start, vec3_t end, int type, int color, entity_t *en particle(particletype + pt_alphastatic, color, color, tex_particle, 5, qd*128, qd*320, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0); break; #endif + default: + Sys_Error("CL_RocketTrail: unknown trail type %i\n", type); } // advance to next time and position -- 2.39.2