[Scummvm-tracker] [ScummVM] #9806: SCI: SQ4 Windows: Stuck when picking up matches
ScummVM
trac at scummvm.org
Mon Feb 18 10:14:20 CET 2019
#9806: SCI: SQ4 Windows: Stuck when picking up matches
----------------------------+-------------------------
Reporter: dafioram | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Resolution: | Keywords:
Game: Space Quest 4 |
----------------------------+-------------------------
Comment (by Vhati):
In the bugged case (dodge-less bar entry via HAND), ego's only faces east
while in the bar, no matter which direction he walks. Ego's 'heading'
property varies. The sprite does not update to match.
\\
\\
script 615 - getMatches::changeState()
{{{
(0
(proc0_2)
# Test plot flag 75 (set when kicking the bikes).
(if (proc0_6 75)
(g0_ego setMotion: PolyPath 89 181 self)
else
(g0_ego setMotion: PolyPath 102 174 self)
)
)
(1
# Test flag 75 (bikes kicked).
(if (proc0_6 75)
(g0_ego setHeading: 180 self)
else
(= local1 1)
(g89_Sq4GlobalNarrator say: 2)
(g2_myCurrentRoom setScript: lookMonoGuys)
(self dispose:)
)
)
(2
(proc0_11 76 5)
(g0_ego get: 13)
(theMatches dispose:)
(g89_Sq4GlobalNarrator say: 3)
(proc0_1 (g0_ego loop?) 0)
(proc0_3)
(self dispose:)
)
}}}
State 0 runs the without incident.
State 1 calls Actor::setHeading(180). As soon as that method returns,
heading instantly becomes 180.
State 2 is never reached.
Normally, time would pass and ego's looper (stopGroop) would somehow gets
its doit() called (Grooper in script 977), which would cue getMatches to
advance. That isn't happening.
\\
\\
Restore the attached saved game. Click HAND on the bar for buggy entry.
WALK out of the bar, and walking will be fixed. WALK into the bar.
Clicking HAND on the matches. It won't stall.
--
Ticket URL: <https://bugs.scummvm.org/ticket/9806#comment:4>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list