Skip to content
Snippets Groups Projects
Commit 88d98acd authored by ZZYZX's avatar ZZYZX
Browse files

Fixed: zero-radius point lights would crash upon entering things mode (reported by blood)

parent 10167038
No related branches found
No related tags found
No related merge requests found
......@@ -734,12 +734,12 @@ namespace CodeImp.DoomBuilder.GZBuilder.Data
if (ld.LightType != GZGeneral.LightType.SPOT)
{
List<Line3D> lshape = GetPointLightShape(t, highlight, ld, linealpha);
circles.AddRange(lshape);
if (lshape != null) circles.AddRange(lshape);
}
else
{
List<Line3D> lshape = GetSpotLightShape(t, highlight, ld, linealpha);
circles.AddRange(lshape);
if (lshape != null) circles.AddRange(lshape);
}
}
......
......@@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.3.0.3006")]
[assembly: AssemblyVersion("2.3.0.3008")]
[assembly: NeutralResourcesLanguageAttribute("en")]
[assembly: AssemblyHash("abdacb3")]
[assembly: AssemblyHash("1016703")]
......@@ -29,5 +29,5 @@ using System.Resources;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.3.0.3006")]
[assembly: AssemblyVersion("2.3.0.3008")]
[assembly: NeutralResourcesLanguageAttribute("en")]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment