diff options
author | Paul Gilbert | 2014-11-08 22:53:21 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:25:56 -0500 |
commit | 876ce794a1545f04aafc1752d2e25d4379fc72ea (patch) | |
tree | d3d1257c0d8ba310ceffc0a029b9f4a90f2a15d4 /engines | |
parent | d6963d8d09b9bd5f1fd5cd4c58e90bb4332a5cfe (diff) | |
download | scummvm-rg350-876ce794a1545f04aafc1752d2e25d4379fc72ea.tar.gz scummvm-rg350-876ce794a1545f04aafc1752d2e25d4379fc72ea.tar.bz2 scummvm-rg350-876ce794a1545f04aafc1752d2e25d4379fc72ea.zip |
ACCESS: Fix crash when exiting game in the middle of a chapter start
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/room.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp index c9f4a886a1..02bb3b53c7 100644 --- a/engines/access/room.cpp +++ b/engines/access/room.cpp @@ -88,7 +88,10 @@ void Room::doRoom() { _vm->_player->walk(); _vm->_sound->midiRepeat(); _vm->_player->checkScroll(); + doCommands(); + if (_vm->shouldQuit()) + return; // DOROOMFLASHBACK jump point if (_function == FN_CLEAR1) { |