aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.cpp
diff options
context:
space:
mode:
authorStrangerke2013-12-24 18:24:09 +0100
committerStrangerke2013-12-24 18:24:48 +0100
commit28955963d4bcd71e1ae829a3a6690e135b17c2c1 (patch)
tree030e31e1a3f2865431dae5d15ade1cce702bad2c /engines/hopkins/graphics.cpp
parent6957c5bce08d6221170407b03ededbc0421130d2 (diff)
downloadscummvm-rg350-28955963d4bcd71e1ae829a3a6690e135b17c2c1.tar.gz
scummvm-rg350-28955963d4bcd71e1ae829a3a6690e135b17c2c1.tar.bz2
scummvm-rg350-28955963d4bcd71e1ae829a3a6690e135b17c2c1.zip
HOPKINS: Fix bug #6456 - RTL not working.
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r--engines/hopkins/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp
index 05b8296b86..a64e81fcc9 100644
--- a/engines/hopkins/graphics.cpp
+++ b/engines/hopkins/graphics.cpp
@@ -1781,7 +1781,7 @@ void GraphicsManager::initScreen(const Common::String &file, int mode, bool init
do {
int dataVal1 = _vm->_script->handleOpcode(ptr + 20 * dataOffset);
- if (_vm->shouldQuit())
+ if (dataVal1 == -1 || _vm->shouldQuit())
return;
if (dataVal1 == 2)