[Scummvm-tracker] [ScummVM :: Bugs] #13869: PINK: Can't pickup the poker in sir Manley's house
ScummVM :: Bugs
trac at scummvm.org
Wed Apr 26 20:28:37 UTC 2023
#13869: PINK: Can't pickup the poker in sir Manley's house
---------------------+----------------------------------------------
Reporter: kermitoo | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Pink
Version: | Resolution:
Keywords: | Game: Pink Panther: Passport to Peril
---------------------+----------------------------------------------
Comment (by antoniou79):
This issue seems to be caused from global game variables (_variables array
member of the PinkEngine class), that were not cleared up when starting a
new game.
This means that the attached saved games are carrying stale global
variable values; for example, here the "GotPoker" game variable already
has the "TRUE" value in both attached saved games.
I've issued a PR with a potential fix for this here:
https://github.com/scummvm/scummvm/pull/4944
As stated in that PR, this would fix the issue if a user were to start a
*new game* again properly, but it will not retro-actively fix the awry
saved games (eg the attached ones).
It does also not address the case of using the console debugger to jump
around game modules and pages, which is guaranteed to make a mess of these
global game variable values and potentially cause unexpected behavior
(similar to the poker issue). But at least a "New Game" would still clear
everything up.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13869#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list