[Scummvm-tracker] [ScummVM] #10768: QFG4: Unlit torch appears lit, inventory leaks across restarts
Vhati
trac at scummvm.org
Fri Dec 7 11:01:58 CET 2018
#10768: QFG4: Unlit torch appears lit, inventory leaks across restarts
--------------------------------+----------------------------
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):
script 0 - restart()
{{{
(method (restart &tmp temp0 temp1 temp2)
(if (and (not argc) (not (proc91_0 0 0 0 37 1)))
(return)
)
(= global37 0)
(g103_longSong stop:)
(g199_longSong2 stop:)
(g403_longSong3 stop:)
(= g11_myCurrentRoomNum 100)
(statusCode doit: 100)
(UpdatePlane
((g2_myCurrentRoom plane?) back: 0 picture: -1 yourself:)
)
(if (g84_talkers size:) (g91_gloryMessager cue: 1))
(PalCycle 4)
(RemapColors 0)
(g32_features eachElementDo: #dispose release:)
(g5_cast eachElementDo: #dispose)
(g7_timers eachElementDo: #delete)
(g78_theDoits release:)
(g2_myCurrentRoom dispose:)
(FrameOut)
# glorySpells
(= temp1 (ScriptID 21 0))
(= temp0 0)
(while (< temp0 22)
((temp1 at: temp0) owner: 0)
(++ temp0)
)
(= temp0 0)
(while (< temp0 57)
((g9_gloryInv at: temp0)
owner: 0
state: 0
amount: 0
maskView: 0
maskLoop: 0
maskCel: 0
)
(++ temp0)
)
(if
(not (& ((= temp2 (ScriptID 36 1)) signal?) $0008))
(temp2 hide:)
)
(g69_mainIconBar curIcon: (g69_mainIconBar at: 1))
(g69_mainIconBar advanceCurIcon:)
(global157 dispose:)
(= temp0 100)
(while (< temp0 699)
(= [global0 temp0] 0)
(++ temp0)
)
(= global101 1234)
(= g122_myNthDay 1)
(= global134 20)
(= global135 15)
(= global138 9)
(= global139 12)
(= [global144 0] 180)
(= [global144 1] 0)
(= [global144 2] 45)
(= [global144 3] 90)
(= [global144 4] 135)
(= [global144 5] 180)
(= [global144 6] 225)
(= [global144 6] 270)
(= [global144 6] 315)
(= global198 20)
(= global367 2)
(= global368 2)
(= global369 3)
(= global370 3)
(= global371 3)
(= global372 4)
(= global373 5)
(= global374 5)
(= global375 6)
(= global376 7)
(= global377 8)
(= global378 8)
(= global379 5)
(= global380 10)
(= global381 15)
(= global382 20)
(= global383 6)
(= global384 8)
(= global385 7)
(= global386 10)
(= global387 10)
(= global420 100)
(= global422 150)
(= global439 2)
(= global460 1)
(= global450 8)
(= global433 6)
(= global466 400)
(= global157 (Str new: 40))
((= g103_longSong longSong) owner: self flags: 1)
((= g199_longSong2 longSong2) owner: self flags: 1)
((= g403_longSong3 longSong3) owner: self flags: 1)
(= g2_myCurrentRoom 0)
((ScriptID 1) init:)
(DisposeScript 1)
(g0_hero get: 0)
)
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/10768#comment:7>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list