Revert "Enables muzzle flashes"

This reverts commit 7a2f275c17.
This commit is contained in:
Robert Beckebans 2015-12-31 12:34:29 +01:00
parent 1f81d427fa
commit ba8097a90e

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