Enables muzzle flashes

weapon world lighting enabled
This commit is contained in:
y2keeth 2016-01-11 16:46:19 -05:00
parent 5e7e59cfe6
commit da79018740

View file

@ -405,10 +405,10 @@ static void R_AddSingleLight( viewLight_t* vLight )
// A more general solution would be to have an allowLightOnEntityID field.
// HACK: the armor-mounted flashlight is a private spot light, which is probably
// wrong -- you would expect to see them in multiplayer.
if( light->parms.allowLightInViewID && light->parms.pointLight && !eParms.weaponDepthHack )
{
continue;
}
// if( light->parms.allowLightInViewID && light->parms.pointLight && !eParms.weaponDepthHack )
// {
// continue;
// }
// non-shadow casting entities don't need to be added if they aren't
// directly visible