diff options
Diffstat (limited to 'sword2/driver/palette.cpp')
-rw-r--r-- | sword2/driver/palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/palette.cpp b/sword2/driver/palette.cpp index 3e42cef493..60f99253ad 100644 --- a/sword2/driver/palette.cpp +++ b/sword2/driver/palette.cpp @@ -208,7 +208,7 @@ uint8 Screen::getFadeStatus() { } void Screen::waitForFade() { - while (getFadeStatus() != RDFADE_NONE && getFadeStatus() != RDFADE_BLACK) { + while (getFadeStatus() != RDFADE_NONE && getFadeStatus() != RDFADE_BLACK && !_vm->_quit) { updateDisplay(); _vm->_system->delayMillis(20); } |