]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
effect dlights weren't casting shadows (oops)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Aug 2004 15:52:21 +0000 (15:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Aug 2004 15:52:21 +0000 (15:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4308 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 4672b5a48837705245164236e12deb56292a964f..6df65cf62da2e82bc86cffa79ed728187e7f62ad 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -807,7 +807,7 @@ void CL_LinkNetworkEntity(entity_t *e)
                        // hack to make glowing player light shine on their gun
                        //if ((e - cl_entities) == cl.viewentity/* && !chase_active.integer*/)
                        //      dlightmatrix.m[2][3] += 30;
-                       CL_AllocDlight(&e->render, &e->render.matrix, dlightradius, dlightcolor[0], dlightcolor[1], dlightcolor[2], 0, 0, 0, 0, false, 1);
+                       CL_AllocDlight(&e->render, &e->render.matrix, dlightradius, dlightcolor[0], dlightcolor[1], dlightcolor[2], 0, 0, 0, 0, true, 1);
                }
                // custom rtlight
                if (e->state_current.lightpflags & PFLAGS_FULLDYNAMIC)