[Scummvm-tracker] [ScummVM :: Bugs] #14032: ULTIMA8: Death Speak does not immediately close gumps
ScummVM :: Bugs
trac at scummvm.org
Thu May 9 00:59:16 UTC 2024
#14032: ULTIMA8: Death Speak does not immediately close gumps
------------------------+---------------------------------
Reporter: OMGPizzaGuy | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Ultima
Version: | Resolution:
Keywords: | Game: Ultima VIII: Pagan
------------------------+---------------------------------
Comment (by OMGPizzaGuy):
The function that closes items appears to correctly find each item and
check if it is an NPC. If so, it closes the gump immediately. Otherwise it
calls Item::I_use, which spawns a usecode process that will eventually
close the gump. Then the current usecode process calls
TargetGump::I_target, which immediately opens the target gump, which is
modal and prevents other processes from running.
The solution might be to alter TargetGump::I_target to spawn a process
instead to start the target gump when it runs. However, it's worth noting
that target in the original game is not modal, so we could also try simply
changing to that.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14032#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list