aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichieSams2015-01-18 20:22:02 -0600
committerRichieSams2015-01-18 20:22:02 -0600
commit3a31e1de96a860b9f971cef939cb8a4aed8bcd5d (patch)
treef7f80d7923e469aaff6cec7e110097284a2d28ed /test
parent0fafb6a62c13f6f5a4ef6215a4be592ed84f248c (diff)
downloadscummvm-rg350-3a31e1de96a860b9f971cef939cb8a4aed8bcd5d.tar.gz
scummvm-rg350-3a31e1de96a860b9f971cef939cb8a4aed8bcd5d.tar.bz2
scummvm-rg350-3a31e1de96a860b9f971cef939cb8a4aed8bcd5d.zip
ZVISION: Don't change location when coming back from ScummVM save dialog and do change location when coming back from restore dialog
Fixes bug # 6771 We don't need to change locations, since we use the ScummVM save dialog instead of the original one (which is actually a location). Instead we just need to reset _nextLocation to _currentLocation so the engine can stop trying to save. If we change locations, the StateKey_LastWorld/Room/etc. end up being overwritten with the current room. So if a script refers to location 0, 0, 0, 0 (aka, the last room), the engine will try to change location to the same room. On restore, we have to force a location change, just in case we restore to the same room. (Since the logic will only do a location change if _nextLocation != _currentLocation)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions