- Fixed a bug where lights defined in GLDEFS wouldn't show up in visual mode. Fixes #294.

This commit is contained in:
biwa 2019-08-24 12:43:35 +02:00
parent b603cb35c7
commit 64c04f4246

View file

@ -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)