« Previous | Next » 

Revision 985a15f4

Added by skyjake almost 6 years ago

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences