git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4092
d7cf8633-e32d-0410-b094-
e92efae38249
if (e->render.model)
{
Mod_CheckLoaded(e->render.model);
- if (e->render.model->type == mod_alias || e->render.model->type == mod_sprite)
+ // if model is alias, sprite, or this is a tenebrae-like dlight, reverse pitch direction
+ if (e->render.model->type == mod_alias || e->render.model->type == mod_sprite || (e->state_current.lightpflags & PFLAGS_FULLDYNAMIC))
angles[0] = -angles[0];
if ((e->render.model->flags & EF_ROTATE) && (!e->state_current.tagentity && !(e->render.flags & RENDER_VIEWMODEL)))
{