diff --git a/src/g_shared/a_dynlight.cpp b/src/g_shared/a_dynlight.cpp index 65fae7176..98d57c4ab 100644 --- a/src/g_shared/a_dynlight.cpp +++ b/src/g_shared/a_dynlight.cpp @@ -152,6 +152,7 @@ void ADynamicLight::PostSerialize() // The default constructor which is used for creating objects before deserialization will not set this variable. // It needs to be true for all placed lights. visibletoplayer = true; + mShadowmapIndex = 1024; LinkLight(); }