This commit is contained in:
Christoph Oelckers 2013-08-09 23:41:25 +02:00
commit 6e263f76b1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}