- fixed fog init for SW Truecolor.

This commit is contained in:
Christoph Oelckers 2017-03-15 23:38:12 +01:00
parent 76d3ae5ba2
commit 91da8aecdb

View file

@ -363,7 +363,12 @@ void FSoftwareRenderer::PreprocessLevel()
SetDefaultColormap(level.info->FadeTable);
if (level.flags & LEVEL_HASFADETABLE)
{
// This should really be done differently.
level.fadeto = 0xff939393; //[SP] Hexen True-color compatibility, just use gray.
for (auto &s : level.sectors)
{
s.Colormap.FadeColor = level.fadeto;
}
}
}
}