[Scummvm-tracker] [ScummVM :: Bugs] #14886: AGOS: Waxworks Crashes at Egypt Level 3
ScummVM :: Bugs
trac at scummvm.org
Fri Jan 26 02:10:26 UTC 2024
#14886: AGOS: Waxworks Crashes at Egypt Level 3
------------------------+---------------------------
Reporter: Cobradabest | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: AGOS
Version: | Resolution:
Keywords: | Game: Waxworks
------------------------+---------------------------
Comment (by digitall):
Tracked down why this is happening. The problematic item number is 1509.
_itemArrayPtr[1509] is initialized fine when loading, but that is cleared
to nullptr by the Waxworks specific loadRoomItems() function when called
on Room 1169:
https://github.com/scummvm/scummvm/blob/master/engines/agos/rooms.cpp#L362
The exact line clearing this is:
https://github.com/scummvm/scummvm/blob/master/engines/agos/rooms.cpp#L387
Since this then fails to lookup the mapping between item pointer and
reference, the fatal error is emitted.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14886#comment:8>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list