aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorPaul Gilbert2016-02-03 21:21:55 -0500
committerPaul Gilbert2016-02-03 21:21:55 -0500
commit284b2670025d038c51a10a902b9f5d0833bcc6f0 (patch)
tree5fb7b2bba51a90a65d99da3c13b0d2c429a7678a /engines/access
parent65b55b4b3bda0d4c8441dd8126a0ed4ba69c8791 (diff)
downloadscummvm-rg350-284b2670025d038c51a10a902b9f5d0833bcc6f0.tar.gz
scummvm-rg350-284b2670025d038c51a10a902b9f5d0833bcc6f0.tar.bz2
scummvm-rg350-284b2670025d038c51a10a902b9f5d0833bcc6f0.zip
ACCESS: Workaround Floppy room establishment reshown when loading saves
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/scripts.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index bb2875013b..7c354e78e5 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -771,6 +771,11 @@ void Scripts::cmdSpecial() {
if (_specialFunction == 1) {
_vm->_screen->restorePalette();
_vm->_room->_function = FN_RELOAD;
+
+ // WORKAROUND: This fixes scene establishment being re-shown
+ // when restoring savegames in rooms which have one
+ if (_vm->getGameID() == GType_Amazon && !_vm->isCD())
+ _vm->_establishTable[p2] = true;
}
}