Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
World|SaveGame: Restore and check state of as many objects as possible
A discrepancy during object state restoration does not halt the entire process, but only causes a warning to be logged. Fixes a crash in Hexen where the Mage's lightning weapon mobjs had their lastEnemy pointer restored to an unmangled pointer value (that had been truncated from 64 to 32 bits, no less), causing illegal memory access when switching maps. Suspiciously, some objects are still being reported as having lost their targets, which does warrant further investigation. IssueID #2275
- Loading branch information
Showing
2 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters