[Scummvm-tracker] [ScummVM] #10773: QFG4 floppy: Crash when asking Cranium for potions
Vhati
trac at scummvm.org
Wed Oct 31 20:07:17 CET 2018
#10773: QFG4 floppy: Crash when asking Cranium for potions
--------------------------------+-------------------------
Reporter: Vhati | Owner: (none)
Type: defect | Status: new
Priority: high | Component: Engine: SCI
Resolution: | Keywords: SCI32
Game: Quest for Glory 4 |
--------------------------------+-------------------------
Comment (by Vhati):
This might be relevant...?
\\
Floppy Edition (Script 69, craniumTalker)
{{{
(method (dispose param1)
(if (or (not argc) param1)
(craniumThumbs dispose:)
(craniumBrow dispose:)
)
(super dispose: param1)
)
}}}
CD Edition (Script 69, craniumTalker)
{{{
(method (dispose param1)
(if
(and
(or (not argc) param1)
(or
(not (proc0_4 147))
(and global194 (!= (global194
talker?) self))
)
)
(craniumThumbs dispose:)
(craniumBrow dispose:)
)
(super dispose: param1)
)
}}}
Debugger command "vv g 194" says global194 is craniumTeller, whose talker
attribute points to craniumTalker. If I'm reading this right, the CD
edition seems to be sparing craniumThumbs from disposal?
The lab is script 370. It declares craniumTeller, whose cue() hides
itself. And it declares delayMsg, whose changestate() method starts the
''protection'' puzzle (script 88) and calls showAgain().
--
Ticket URL: <https://bugs.scummvm.org/ticket/10773#comment:7>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list