mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 14:12:16 +00:00
Fixed, Linedefs mode, "Make Gradient Brightness" action, UDMF: "lightfog" sidedef flag should be updated when applying the action.
This commit is contained in:
parent
487c0f8df7
commit
07ef66315d
1 changed files with 3 additions and 0 deletions
|
@ -1360,6 +1360,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
side.Fields["light"].Value = brightness;
|
||||
else
|
||||
UDMFTools.SetInteger(side.Fields, "light", brightness - side.Sector.Brightness, 0);
|
||||
|
||||
//apply lightfog flag?
|
||||
if(General.Map.UDMF) Tools.UpdateLightFogFlag(side);
|
||||
}
|
||||
|
||||
[BeginAction("placethings")] //mxd
|
||||
|
|
Loading…
Reference in a new issue