mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 13:51:40 +00:00
- Fixed a bug where lights defined in GLDEFS wouldn't show up in visual mode. Fixes #294.
This commit is contained in:
parent
b603cb35c7
commit
64c04f4246
1 changed files with 1 additions and 1 deletions
|
@ -1975,7 +1975,7 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
public void AddThingGeometry(VisualThing t)
|
||||
{
|
||||
//mxd. Gather lights
|
||||
if (General.Settings.GZDrawLightsMode != LightRenderMode.NONE && !fullbrightness && t.LightType != null && t.LightType.LightInternal)
|
||||
if (General.Settings.GZDrawLightsMode != LightRenderMode.NONE && !fullbrightness && t.LightType != null)
|
||||
{
|
||||
t.UpdateLightRadius();
|
||||
if (t.LightRadius > 0)
|
||||
|
|
Loading…
Reference in a new issue