diff options
author | Thierry Crozat | 2017-11-07 23:52:13 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:39 +0000 |
commit | 965b4ca3ded768c7f6f343f134fddbb0f8b19857 (patch) | |
tree | f205be12fe07213b484108a51a449ede90e58ca0 /engines/supernova | |
parent | 529a9c98119ab15a17a43dc8ee65ddf892d3eca2 (diff) | |
download | scummvm-rg350-965b4ca3ded768c7f6f343f134fddbb0f8b19857.tar.gz scummvm-rg350-965b4ca3ded768c7f6f343f134fddbb0f8b19857.tar.bz2 scummvm-rg350-965b4ca3ded768c7f6f343f134fddbb0f8b19857.zip |
SUPERNOVA: Check shouldQuit to break from input loop
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index bc4eeeafdd..08c4f0efe4 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -1162,7 +1162,7 @@ Common::EventType GameManager::getMouseInput() { } void GameManager::getInput() { - while (true) { + while (!_vm->shouldQuit()) { _vm->updateEvents(); if (_mouseClicked || _keyPressed) break; |