From: havoc Date: Sat, 7 Aug 2004 15:52:21 +0000 (+0000) Subject: effect dlights weren't casting shadows (oops) X-Git-Tag: xonotic-v0.1.0preview~5765 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=44c6951c5668008ecd2461159b4f9bfe7d7624f9;p=xonotic%2Fdarkplaces.git effect dlights weren't casting shadows (oops) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4308 d7cf8633-e32d-0410-b094-e92efae38249 --- 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)