]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_lightning.c
add TODO markers, possibly for WIP3 version of V_CalcRefdef extension
[xonotic/darkplaces.git] / r_lightning.c
index b7975c6c01b4281eec6c5d529a418a66e40ebb06..5ef3ed144534841a4e08219a35435f9b65e7175f 100644 (file)
@@ -320,7 +320,7 @@ void R_DrawLightningBeams(void)
                        dist = bound(0, dist, 1);
                        VectorLerp(start, dist, end, org);
                        // now we have the nearest point on the line, so sort with it
-                       R_MeshQueue_AddTransparent(org, R_DrawLightningBeam_TransparentCallback, NULL, i, NULL);
+                       R_MeshQueue_AddTransparent(MESHQUEUE_SORT_DISTANCE, org, R_DrawLightningBeam_TransparentCallback, NULL, i, NULL);
                }
        }
 }