]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_models.c
renamed PROTOCOL_VERSION stuff to PROTOCOL_QUAKE, PROTOCOL_DARKPLACES1, and so on
[xonotic/darkplaces.git] / gl_models.c
index a1effa88d7cfe0a0f39ddb178517caf5427bd794..7d3a70026f34d0395b7b344d2f0779fd76d41131 100644 (file)
@@ -320,7 +320,7 @@ void R_Model_Alias_DrawFakeShadow (entity_render_t *ent)
        VectorNormalizeFast(lightdirection);
 
        VectorMA(ent->origin, 65536.0f, lightdirection, v2);
-       if (CL_TraceLine(ent->origin, v2, floororigin, surfnormal, 0, false, NULL) == 1)
+       if (CL_TraceLine(ent->origin, v2, floororigin, surfnormal, false, NULL, SUPERCONTENTS_SOLID) == 1)
                return;
 
        R_Mesh_Matrix(&ent->matrix);