Skip to content

Commit

Permalink
- fixed: ADynamicLight's shadowmap index must be reset when loading a…
Browse files Browse the repository at this point in the history
… savegame.
  • Loading branch information
coelckers committed Jun 13, 2018
1 parent fae57a1 commit 7c9f1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/g_shared/a_dynlight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 7c9f1dd

Please sign in to comment.