#14003 closed defect (fixed)

XEEN: Broken chest in dungeon

Reported by: HendrikR Owned by: dreammaster
Priority: normal Component: Engine: MM: Xeen
Version: Keywords: xeen swords
Cc: Game:

Description

In Swords of Xeen, in the Castle of the Undead L3, Coordinates X=14, Y=1, there is a broken chest. To reproduce:

  • Go to the Castle of the Undead, Level 3
  • Go to coordinates 14,1
  • select the chest
  • select a character to open it
  • Scummvm crashes with this error:

scummvm: ./common/array.h:232: T& Common::Array<T>::operator[](size_type) [with T = Xeen::MazeObject; size_type = unsigned int]: Assertion `idx < _size' failed.

A savegame is attached.

Version: Scummvm 2.6.1 (Oct 27 2022 00:55:26)
Host OS: (Arch)Linux x86_64
Game Version: swrd.cc: 0d51c3457070cc7d1a596da9241924a5, 13026924 bytes.

Attachments (1)

swordsofxeen.002 (88.9 KB ) - added by HendrikR 16 months ago.

Download all attachments as: .zip

Change History (2)

by HendrikR, 16 months ago

Attachment: swordsofxeen.002 added

comment:1 by dreammaster, 16 months ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

Thanks for the report. I've added a workaround to fix the invalid index for the chest.

Note: See TracTickets for help on using tickets.