mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: ADynamicLight's shadowmap index must be reset when loading a savegame.
This commit is contained in:
parent
a91147a3a5
commit
bd1525eb9d
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue