projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5cd639
)
added a default case (Sys_Error) to CL_RocketTrail as recommended by [515]
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Aug 2005 14:02:43 +0000
(14:02 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Aug 2005 14:02:43 +0000
(14:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5582
d7cf8633
-e32d-0410-b094-
e92efae38249
cl_particles.c
patch
|
blob
|
history
diff --git
a/cl_particles.c
b/cl_particles.c
index
ef30aad
..
25d9079
100644
(file)
--- 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