diff options
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 4e28f80817..9a7bfc804a 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -1164,6 +1164,10 @@ void GfxFrameout::shakeScreen(int16 numShakes, const ShakeDirection direction) { } while (numShakes--) { + if (g_engine->shouldQuit()) { + break; + } + if (direction & kShakeVertical) { g_system->setShakePos(_isHiRes ? 8 : 4); } |