Fixed, Linedefs mode, "Make Gradient Brightness" action, UDMF: "lightfog" sidedef flag should be updated when applying the action.

This commit is contained in:
MaxED 2015-03-27 11:43:28 +00:00
parent 487c0f8df7
commit 07ef66315d

View file

@ -1360,6 +1360,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
side.Fields["light"].Value = brightness; side.Fields["light"].Value = brightness;
else else
UDMFTools.SetInteger(side.Fields, "light", brightness - side.Sector.Brightness, 0); UDMFTools.SetInteger(side.Fields, "light", brightness - side.Sector.Brightness, 0);
//apply lightfog flag?
if(General.Map.UDMF) Tools.UpdateLightFogFlag(side);
} }
[BeginAction("placethings")] //mxd [BeginAction("placethings")] //mxd