[Scummvm-tracker] [ScummVM] #10874: QFG4: Rogues get stuck opening castle doors

ScummVM trac at scummvm.org
Thu Jan 17 04:57:35 CET 2019


#10874: QFG4: Rogues get stuck opening castle doors
--------------------------------+----------------------------
  Reporter:  Vhati              |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  normal             |  Component:  Engine: SCI
Resolution:                     |   Keywords:  SCI32 original
      Game:  Quest for Glory 4  |
--------------------------------+----------------------------

Comment (by Vhati):

 Here's why the cue is important.
 \\
 \\
 script 23 - Teller::doVerb()
 {{{
 # ...
 (= loc6_couldInput (User canInput:))
 (= loc7_couldControl (User canControl:))
 (User canControl: 0 canInput: 0)
 (while (not (self respond:))
 )
 # ...
 }}}

 script 23 - Teller::respond()
 {{{
 # ...
 (self sayMessage:)
 # ...
 }}}
 \\
 \\
 The following doesn't happen...
 \\
 \\
 script 23 - Teller::cue()
 {{{
 # ...
 # local0 is set by TellerIcon::select().
 (if local0
         (= local0 0)
         (= g194_myCurrentTeller 0)
         (self clean:)
         (return)
 )
 # ...
 }}}

 script 23 - Teller::clean()
 {{{
 # ...
 (if loc6_couldInput (User canInput: 1))
 (if loc7_couldControl (User canControl: 1))
 # ...
 }}}
 \\
 \\
 Teller needs to reach clean() to return control to the player.

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10874#comment:3>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list