diff options
author | Christopher Page | 2008-07-10 22:34:48 +0000 |
---|---|---|
committer | Christopher Page | 2008-07-10 22:34:48 +0000 |
commit | 17ce8db211051bf0b7626958201b5bcfec206979 (patch) | |
tree | 2b7b2f476c21e49fb8f36fd752a991210bd60870 /engines/lure/scripts.cpp | |
parent | 1fd613afa681fc3a81d9ed3f5c6fb34513ca2fd7 (diff) | |
download | scummvm-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/scripts.cpp')
-rw-r--r-- | engines/lure/scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp index 9a459616ed..495f8046bb 100644 --- a/engines/lure/scripts.cpp +++ b/engines/lure/scripts.cpp @@ -221,7 +221,7 @@ void Script::endgameSequence(uint16 v1, uint16 v2, uint16 v3) { anim->show(); if (!events.interruptableDelay(30000)) { // No key yet pressed, so keep waiting - while (Sound.musicInterface_CheckPlaying(6) && !engine._quit) { + while (Sound.musicInterface_CheckPlaying(6) && !engine.quit()) { if (events.interruptableDelay(20)) break; } @@ -229,7 +229,7 @@ void Script::endgameSequence(uint16 v1, uint16 v2, uint16 v3) { delete anim; screen.paletteFadeOut(); - engine._quit = true; + engine.quitGame(); } // Setup the pig fight in the cave |