git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5475
d7cf8633-e32d-0410-b094-
e92efae38249
model_t *model = ent->model;
msurface_t *surface;
int surfacelistindex;
model_t *model = ent->model;
msurface_t *surface;
int surfacelistindex;
- float projectdistance = lightradius + model->radius + r_shadow_projectdistance.value;
+ float projectdistance = lightradius + model->radius*2 + r_shadow_projectdistance.value;
vec3_t modelorg;
texture_t *texture;
// check the box in modelspace, it was already checked in worldspace
vec3_t modelorg;
texture_t *texture;
// check the box in modelspace, it was already checked in worldspace