[Scummvm-tracker] [ScummVM] #10731: QFG4: Castle barrel room door, hero returns when exiting

Vhati trac at scummvm.org
Tue Nov 6 06:38:28 CET 2018


#10731: QFG4: Castle barrel room door, hero returns when exiting
--------------------------------+----------------------------
  Reporter:  darksoul42         |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  normal             |  Component:  Engine: SCI
Resolution:                     |   Keywords:  SCI32 original
      Game:  Quest for Glory 4  |
--------------------------------+----------------------------

Comment (by Vhati):

 There's a doorMat that triggers sLeaveWest immediately upon entering the
 great hall.
 doorMats (script 49) stay dormant when the room (global2) has its script
 property set.

 One would expect sEnterTheRoom to preempt the doorMat until it finishes
 all its states and disposes itself, by which point the hero will have
 moved past the doorMat's region.

 But rm630::init() calls setScript(sEnterTheRoom), not on itself, but '''on
 hero'''.

 Now I'm wondering what mechanism stops this bug happening all the time.

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


More information about the Scummvm-tracker mailing list