]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_collision.h
fixed a crash if decals are stuck to submodels when cl_entities expands
[xonotic/darkplaces.git] / cl_collision.h
index 568a81fbfbd9a4f6194d84f9d554db9d0078cd76..bf5390af8512ce3058bf8c2d03b4b989ceab79df 100644 (file)
@@ -6,7 +6,7 @@
 // (leafs matching contents are considered empty, others are solid)
 extern int cl_traceline_startcontents; // set by TraceLine
 
-float CL_TraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int hitbmodels, entity_render_t **hitent, int hitsupercontentsmask);
+float CL_TraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int hitbmodels, int *hitent, int hitsupercontentsmask);
 float CL_SelectTraceLine(const vec3_t start, const vec3_t end, vec3_t impact, vec3_t normal, int *hitent, entity_render_t *ignoreent);
 void CL_FindNonSolidLocation(const vec3_t in, vec3_t out, vec_t radius);
 int CL_PointQ1Contents(const vec3_t p);