- fixed: ADynamicLight's shadowmap index must be reset when loading a savegame.

This commit is contained in:
Christoph Oelckers 2018-06-10 22:57:34 +02:00
parent a91147a3a5
commit bd1525eb9d

View file

@ -152,6 +152,7 @@ void ADynamicLight::PostSerialize()
// The default constructor which is used for creating objects before deserialization will not set this variable. // 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. // It needs to be true for all placed lights.
visibletoplayer = true; visibletoplayer = true;
mShadowmapIndex = 1024;
LinkLight(); LinkLight();
} }