Menu

#6771 ZVISION: Unable to leave room after loading saved game

closed-fixed
ZVISION (17)
5
2015-01-19
2015-01-17
No

Current Git snapshot of ScummVM, English version of the game.

I saved while looking out the window in the Dungeon Master's hideout. After loading that savegame, I'm unable to leave the room. I do get an arrow cursor indicating that I should be able to move, but nothing happens when I click it.

I'm attaching a savegame near the window, and one while looking out. To reproduce, simply use the first savegame, look out the window and save there.

2 Attachments

Discussion

  • Torbjörn Andersson

    I think what happens is that the hotspot to leave the room is wired to location '0' '0' '0' '0' 0, which means "return to previous location". When I walk up to the window, the this works fine. When I load the savegame, it seems like changeLocation() sets up the current room as the previous location.

    So the hotspot is handled correctly, it's just that it has forgotten what the previous location really was.

     
  • Torbjörn Andersson

    Whatever fix is made for this, it probably has to be tested with both the original and the ScummVM save/load dialogs.

     
  • Torbjörn Andersson

    I've removed my debug messages, but I probably meant to write that it's changeLocationReal() that sets up the current room as the previous location, not changeLocation().

     
  • RichieSams

    RichieSams - 2015-01-19

    Fixed in commit b835eacc0

     
  • RichieSams

    RichieSams - 2015-01-19
    • status: open --> open-fixed
     
  • RichieSams

    RichieSams - 2015-01-19

    Fixed a regression with commit 3a31e1de

     
  • Torbjörn Andersson

    Are you sure it's fixed? I'm still stuck at that window, after saving/restoring at it, regardless of whether I'm using the original save/restore dialogs or ScummVM's.

     
  • Torbjörn Andersson

    • status: open-fixed --> open
     
  • Torbjörn Andersson

    This seems to be working now. (When I filed the bug report I assumed it would be fairly easy to fix, but apparently it was trickier than I would have guessed.)

     
  • Filippos Karapetis

    • labels: --> ZVISION
    • status: open --> closed-fixed
    • assigned_to: Filippos Karapetis
     
  • Filippos Karapetis

    Thanks for your report eriktorbjorn!

    Yeah the bug is fixed now, with commits dcac5be493, 5df2e08c16 and 5f9858844a. Turned out to be a bit trickier than expected.

    I've tried it with both the original and the ScummVM save/load screens, it's working correctly now.

    Closing as fixed

     
MongoDB Logo MongoDB