aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-06-24 23:19:23 +0000
committerChristopher Page2008-06-24 23:19:23 +0000
commitc14804e22f5171e6aa7b2cf5d383a4e28180aa7a (patch)
tree95f81d04ca309d76348ce86c71823693f310a379 /engines/gob/inter.cpp
parentf878820bbee1e7e4659ca601872674082334fa63 (diff)
downloadscummvm-rg350-c14804e22f5171e6aa7b2cf5d383a4e28180aa7a.tar.gz
scummvm-rg350-c14804e22f5171e6aa7b2cf5d383a4e28180aa7a.tar.bz2
scummvm-rg350-c14804e22f5171e6aa7b2cf5d383a4e28180aa7a.zip
Added main menu dialog files. Gob is now using the new _quit flag
svn-id: r32771
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r--engines/gob/inter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index 9c39653a1d..d5daed2d97 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -249,7 +249,7 @@ void Inter::funcBlock(int16 retFlag) {
if (executeFuncOpcode(cmd2, cmd, params))
return;
- if (_vm->_quitRequested)
+ if (_vm->_quit)
break;
if (_break) {
@@ -269,7 +269,7 @@ void Inter::funcBlock(int16 retFlag) {
void Inter::callSub(int16 retFlag) {
byte block;
- while (!_vm->_quitRequested && _vm->_global->_inter_execPtr &&
+ while (!_vm->_quit && _vm->_global->_inter_execPtr &&
(_vm->_global->_inter_execPtr != _vm->_game->_totFileData)) {
block = *_vm->_global->_inter_execPtr;