- Fixed: Disable absolute wall lighting when in the shadow of a 3D floor.

SVN r3499 (trunk)
This commit is contained in:
Randy Heit 2012-04-01 02:31:57 +00:00
commit d9f7a250ba
3 changed files with 22 additions and 15 deletions

View file

@ -930,9 +930,9 @@ CUSTOM_CVAR(Int, r_fakecontrast, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
//
//==========================================================================
int side_t::GetLightLevel (bool foggy, int baselight, int *pfakecontrast) const
int side_t::GetLightLevel (bool foggy, int baselight, bool noabsolute, int *pfakecontrast) const
{
if (Flags & WALLF_ABSLIGHTING)
if (!noabsolute && (Flags & WALLF_ABSLIGHTING))
{
baselight = Light;
}