]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
Treat attempts to draw trails with pointparticles as zero length trails.
[xonotic/darkplaces.git] / gl_rsurf.c
index 8a915155459bc13c3cd212c29f42d8446b4ce378..17b183d271f648f1aeea1b80695e622451432ff2 100644 (file)
@@ -637,7 +637,7 @@ void R_Q1BSP_Draw(entity_render_t *ent)
 void R_Q1BSP_DrawDepth(entity_render_t *ent)
 {
        dp_model_t *model = ent->model;
-       if (model == NULL)
+       if (model == NULL || model->surfmesh.isanimated)
                return;
        GL_ColorMask(0,0,0,0);
        GL_Color(1,1,1,1);