]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_part.c
-safe now does something approximately close to correct. Not a full fix
[xonotic/darkplaces.git] / r_part.c
index 9ee7f9bbfe5aa072cfff5548097a8961b9d93265..6bb2dfbe195126a391d1f5d9959b152867af1cb4 100644 (file)
--- a/r_part.c
+++ b/r_part.c
@@ -1435,7 +1435,7 @@ void R_DrawParticles (void)
                        continue;
 
                // LordHavoc: check if it's in a visible leaf
-               leaf = leaf = Mod_PointInLeaf(p->org, cl.worldmodel);
+               leaf = Mod_PointInLeaf(p->org, cl.worldmodel);
                if (leaf->visframe != r_framecount)
                        continue;