From 44c6951c5668008ecd2461159b4f9bfe7d7624f9 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 7 Aug 2004 15:52:21 +0000 Subject: [PATCH] effect dlights weren't casting shadows (oops) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4308 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_main.c b/cl_main.c index 4672b5a4..6df65cf6 100644 --- 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) -- 2.39.2