aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r--engines/fullpipe/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index d41505e2f1..8ba2e80c1b 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -626,7 +626,7 @@ void Picture::drawRotated(int x, int y, int angle) {
}
void Picture::displayPicture() {
- if (!g_fp->_gameContinue)
+ if (g_fp->shouldQuit())
return;
getData();
@@ -644,7 +644,7 @@ void Picture::displayPicture() {
g_fp->_system->delayMillis(10);
g_fp->_system->updateScreen();
- while (g_fp->_gameContinue) {
+ while (!g_fp->shouldQuit()) {
g_fp->updateEvents();
g_fp->_system->delayMillis(10);
g_fp->_system->updateScreen();