aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/screen.cpp
diff options
context:
space:
mode:
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) {