aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/access/amazon/amazon_game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp
index ab6fb3f5d9..d18729aa19 100644
--- a/engines/access/amazon/amazon_game.cpp
+++ b/engines/access/amazon/amazon_game.cpp
@@ -257,8 +257,8 @@ void AmazonEngine::doEstablish(int esatabIndex, int sub) {
_screen->clearScreen();
_screen->setPanel(3);
- if (esatabIndex != -1) {
- _files->loadScreen(95, esatabIndex);
+ if (sub != -1) {
+ _files->loadScreen(95, sub);
_buffer2.copyBuffer(_screen);
}