mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
6e263f76b1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ EXTERN_CVAR(Int, vid_renderer)
|
|||
FDynamicColormap *F3DFloor::GetColormap()
|
||||
{
|
||||
// If there's no fog in either model or target sector this is easy and fast.
|
||||
if ((target->ColorMap->Fade == 0 && model->ColorMap->Fade == 0) || (flags & FF_FADEWALLS))
|
||||
if ((target->ColorMap->Fade == 0 && model->ColorMap->Fade == 0) || (flags & (FF_FADEWALLS|FF_FOG)))
|
||||
{
|
||||
return model->ColorMap;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue