- Fixed: Disable absolute wall lighting when in the shadow of a 3D floor.
SVN r3499 (trunk)
This commit is contained in:
parent
f6f8d74635
commit
d9f7a250ba
3 changed files with 22 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue