git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2974
d7cf8633-e32d-0410-b094-
e92efae38249
//Con_Printf("dlight %i : %f %f %f : %f %f %f\n", i, org[0], org[1], org[2], red * radius, green * radius, blue * radius);
memset (dl, 0, sizeof(*dl));
dl->ent = ent;
//Con_Printf("dlight %i : %f %f %f : %f %f %f\n", i, org[0], org[1], org[2], red * radius, green * radius, blue * radius);
memset (dl, 0, sizeof(*dl));
dl->ent = ent;
- VectorCopy(org, dl->origin);
+ Mod_FindNonSolidLocation(org, dl->origin, cl.worldmodel, 6);
+ //VectorCopy(org, dl->origin);
dl->radius = radius;
dl->color[0] = red;
dl->color[1] = green;
dl->radius = radius;
dl->color[0] = red;
dl->color[1] = green;