diff options
author | Willem Jan Palenstijn | 2009-07-19 10:50:14 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-07-19 10:50:14 +0000 |
commit | 3c8e328e5cfdecd54b38a4cd239d6a294025b03b (patch) | |
tree | 1b3dfe86029830c4934feb4758b0bfa0e9a7a177 /engines/sci | |
parent | bcd98e59e00d18ecab829a1fe2a8fdd98efbd07c (diff) | |
download | scummvm-rg350-3c8e328e5cfdecd54b38a4cd239d6a294025b03b.tar.gz scummvm-rg350-3c8e328e5cfdecd54b38a4cd239d6a294025b03b.tar.bz2 scummvm-rg350-3c8e328e5cfdecd54b38a4cd239d6a294025b03b.zip |
SCI: check shouldQuit() in main loop
svn-id: r42609
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/vm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 14b980d0ed..0f8fee0876 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -654,7 +654,7 @@ void run_vm(EngineState *s, int restoring) { } - if (script_abort_flag) + if (script_abort_flag || g_engine->shouldQuit()) return; // Emergency // Debug if this has been requested: |