aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/lure.cpp
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/lure/lure.cpp
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/lure/lure.cpp')
-rw-r--r--engines/lure/lure.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 9c5482da6d..90c0c34454 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -126,8 +126,8 @@ int LureEngine::go() {
CopyProtectionDialog *dialog = new CopyProtectionDialog();
bool result = dialog->show();
delete dialog;
- if (_quit)
- return _rtl;
+ if (quit())
+ return _eventMan->shouldRTL();
if (!result)
error("Sorry - copy protection failed");
@@ -145,14 +145,14 @@ int LureEngine::go() {
}
// Play the game
- if (!_quit) {
+ if (!quit()) {
// Play the game
Sound.loadSection(Sound.isRoland() ? ROLAND_MAIN_SOUND_RESOURCE_ID : ADLIB_MAIN_SOUND_RESOURCE_ID);
gameInstance->execute();
}
delete gameInstance;
- return _rtl;
+ return _eventMan->shouldRTL();
}
void LureEngine::pauseEngineIntern(bool pause) {