aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/screen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-02-11 21:16:23 -0500
committerPaul Gilbert2018-02-11 21:16:23 -0500
commit7f50c5040144627cf00ccd91831946c356c45860 (patch)
treebcaf479a3b1768e59be82d7d708c0646505d3dea /engines/xeen/screen.cpp
parent3ce418a1de564636d6d9b2c1f5e13df9dbc4a819 (diff)
downloadscummvm-rg350-7f50c5040144627cf00ccd91831946c356c45860.tar.gz
scummvm-rg350-7f50c5040144627cf00ccd91831946c356c45860.tar.bz2
scummvm-rg350-7f50c5040144627cf00ccd91831946c356c45860.zip
XEEN: Fix exiting to main menu after playing ending cutscenes
Diffstat (limited to 'engines/xeen/screen.cpp')
-rw-r--r--engines/xeen/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/screen.cpp b/engines/xeen/screen.cpp
index 1561c82488..98421dd5bb 100644
--- a/engines/xeen/screen.cpp
+++ b/engines/xeen/screen.cpp
@@ -125,7 +125,7 @@ void Screen::fadeOut(int step) {
}
void Screen::fadeInner(int step) {
- for (int idx = 128; idx >= 0 && !_vm->shouldQuit(); idx -= step) {
+ for (int idx = 128; idx >= 0 && !_vm->shouldExit(); idx -= step) {
int val = MAX(idx, 0);
bool flag = !_fadeIn;
if (!flag) {