- 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
1 changed files with 1 additions and 0 deletions

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.
// It needs to be true for all placed lights.
visibletoplayer = true;
mShadowmapIndex = 1024;
LinkLight();
}