mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
Fix local brightness change not working properly with shadow-casting FOFs above
This commit is contained in:
parent
6bb4df359c
commit
946fef8fce
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
vs.UpdateSectorGeometry(true);
|
vs.UpdateSectorGeometry(true);
|
||||||
}
|
}
|
||||||
// This is actual floor of a sector with extrafloors
|
// This is actual floor of a sector with extrafloors
|
||||||
else if (level != null && Sector.ExtraFloors.Count > 0 && !Sector.ExtraFloors[0].ExtraFloor.Floor.restrictlighting && !Sector.ExtraFloors[0].ExtraFloor.Floor.disablelighting)
|
else if (!local && level != null && Sector.ExtraFloors.Count > 0 && !Sector.ExtraFloors[0].ExtraFloor.Floor.restrictlighting && !Sector.ExtraFloors[0].ExtraFloor.Floor.disablelighting)
|
||||||
{
|
{
|
||||||
Sector.ExtraFloors[0].OnChangeTargetBrightness(up, local);
|
Sector.ExtraFloors[0].OnChangeTargetBrightness(up, local);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue