diff options
author | uruk | 2013-08-07 10:37:59 +0200 |
---|---|---|
committer | uruk | 2013-08-07 10:37:59 +0200 |
commit | 84aac3e49beeeda18a9d08e485e97bf25a961708 (patch) | |
tree | 96e3fccd1c430bc949586802230b0911effa8082 /engines | |
parent | 26b73331375488a0d5c0fa6b7e0f9c49de4e45a1 (diff) | |
download | scummvm-rg350-84aac3e49beeeda18a9d08e485e97bf25a961708.tar.gz scummvm-rg350-84aac3e49beeeda18a9d08e485e97bf25a961708.tar.bz2 scummvm-rg350-84aac3e49beeeda18a9d08e485e97bf25a961708.zip |
AVALANCHE: Rework Scrolls::normscroll().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/scrolls2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/scrolls2.cpp b/engines/avalanche/scrolls2.cpp index 6b21a99f8a..5087232c98 100644 --- a/engines/avalanche/scrolls2.cpp +++ b/engines/avalanche/scrolls2.cpp @@ -169,11 +169,11 @@ void Scrolls::normscroll() { ::Graphics::Surface temp; temp.copyFrom(_vm->_graphics->_surface); - _vm->_graphics->_surface.copyFrom(_vm->_graphics->_scrolls); + _vm->_graphics->_surface.copyFrom(_vm->_graphics->_scrolls); // TODO: Rework it using getSubArea !!!!!!! _vm->_graphics->refreshScreen(); Common::Event event; - while (true) { + while (!_vm->shouldQuit()) { _vm->getEvent(event); if ((event.type == Common::EVENT_KEYDOWN) && ((event.kbd.keycode == Common::KEYCODE_ESCAPE) || (event.kbd.keycode == Common::KEYCODE_RETURN) || (event.kbd.keycode == Common::KEYCODE_HASH) || (event.kbd.keycode == Common::KEYCODE_PLUS))) break; |