mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
- fixed: When creating colormaps for 3D floors the model sector's fade value must be used when defining a fog volume.
This commit is contained in:
parent
9c12c03684
commit
55f637c906
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
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