mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
- fixed fog init for SW Truecolor.
This commit is contained in:
parent
76d3ae5ba2
commit
91da8aecdb
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue