From: havoc Date: Mon, 15 Aug 2005 14:02:43 +0000 (+0000) Subject: added a default case (Sys_Error) to CL_RocketTrail as recommended by [515] X-Git-Tag: xonotic-v0.1.0preview~4644 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7fe24a9cf3db833bbbb4814dd42512519ac0bcdd;p=xonotic%2Fdarkplaces.git 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 --- 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