mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +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()
|
FDynamicColormap *F3DFloor::GetColormap()
|
||||||
{
|
{
|
||||||
// If there's no fog in either model or target sector this is easy and fast.
|
// 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;
|
return model->ColorMap;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue