aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorChristopher Page2008-07-10 22:34:48 +0000
committerChristopher Page2008-07-10 22:34:48 +0000
commit17ce8db211051bf0b7626958201b5bcfec206979 (patch)
tree2b7b2f476c21e49fb8f36fd752a991210bd60870 /engines/agos
parent1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7 (diff)
downloadscummvm-rg350-17ce8db211051bf0b7626958201b5bcfec206979.tar.gz
scummvm-rg350-17ce8db211051bf0b7626958201b5bcfec206979.tar.bz2
scummvm-rg350-17ce8db211051bf0b7626958201b5bcfec206979.zip
Lure works with the new GMM implementation
svn-id: r32996
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.h1
-rw-r--r--engines/agos/subroutine.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 11c04cd021..fe1d36f281 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -269,7 +269,6 @@ protected:
uint16 _marks;
- // bool _quit;
bool _scriptVar2;
bool _runScriptReturn1;
bool _runScriptCondition[40];
diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp
index cb71ed7efa..488ebf4edf 100644
--- a/engines/agos/subroutine.cpp
+++ b/engines/agos/subroutine.cpp
@@ -555,7 +555,7 @@ int AGOSEngine::startSubroutine(Subroutine *sub) {
_currentTable = sub;
restart:
- if (_quit)
+ if (quit())
return result;
while ((byte *)sl != (byte *)sub) {