Skip to content

Commit

Permalink
Heretic: Restore rlightlevel when unarchiving
Browse files Browse the repository at this point in the history
..  to reflect light-changes done throughout the map.
  • Loading branch information
Noseey committed Dec 16, 2024
1 parent 2b6f6d2 commit b5fba7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/heretic/p_saveg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,7 @@ void P_UnArchiveWorld(void)
sec->floorpic = SV_ReadWord();
sec->ceilingpic = SV_ReadWord();
sec->lightlevel = SV_ReadWord();
sec->rlightlevel = sec->lightlevel; // [crispy] A11Y
sec->special = SV_ReadWord(); // needed?
sec->tag = SV_ReadWord(); // needed?
sec->specialdata = 0;
Expand Down

0 comments on commit b5fba7e

Please sign in to comment.