Opened 10 months ago
Closed 9 months ago
#16075 closed defect (fixed)
M4: RIDDLE: Hard crash when looking at copper tank viewer in the Odditorium
| Reported by: | afreickmann | Owned by: | Strangerke |
|---|---|---|---|
| Priority: | normal | Component: | Engine: M4 |
| Version: | Keywords: | ||
| Cc: | Game: | Riddle of Master Lu |
Description
What happens:
If you look at the copper tank viewer in the Odditorium at the start of the game, ScummVM crashes and enters the debugger.
Error output:
fl (01dc): op_ADD IDX_CELS_INDEX, 65536
fl (01e4): op_COMPARE IDX_CELS_INDEX, REG 36
fl (01ec): op_BRANCH 65536, -720896
fl (01c8): op_SETCEL IDX_CELS_HASH, IDX_CELS_INDEX
ERROR: CreateSprite: Sprite index out of range - max index: 5, requested index: 6!
Additional notes:
If you look at the same object near the end of the game, it does not crash.
However, the inventory stays visible during the interaction, which shouldn't happen.
Expected behavior:
Ripley should be able to look at the copper tank viewer without crashing the game, and the inventory should be hidden during cutscenes or look interactions.
Attachments (2)
Change History (5)
by , 10 months ago
| Attachment: | riddle.073 added |
|---|
by , 10 months ago
| Attachment: | riddle.002 added |
|---|
comment:1 by , 9 months ago
comment:2 by , 9 months ago
I fixed the crash. The second part of the ticket related to the inventory is problematic: I don't manage to reproduce it, it's hidden before and after visiting Room301 (posh NY)
comment:3 by , 9 months ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |

In 0178b529: