diff options
author | Strangerke | 2013-11-30 19:03:46 +0100 |
---|---|---|
committer | Strangerke | 2013-11-30 19:03:46 +0100 |
commit | 4b110493c1778967f0696136d6da459c948c4bb4 (patch) | |
tree | 93846ba70e1597b8260327ae9179d73203a08a11 /engines/tsage/ringworld2/ringworld2_scenes1.cpp | |
parent | 1f2685e40ca71eaee8c15b52dcff2ae36b8f8909 (diff) | |
download | scummvm-rg350-4b110493c1778967f0696136d6da459c948c4bb4.tar.gz scummvm-rg350-4b110493c1778967f0696136d6da459c948c4bb4.tar.bz2 scummvm-rg350-4b110493c1778967f0696136d6da459c948c4bb4.zip |
TSAGE: R2R - Add missing shouldquit in loop, fix build
Diffstat (limited to 'engines/tsage/ringworld2/ringworld2_scenes1.cpp')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index c3b23087c7..ebba329762 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -2267,7 +2267,7 @@ void Scene1337::Action1337::waitFrames(int32 frameCount) { uint32 curFrame = firstFrameNumber; uint32 destFrame = firstFrameNumber + frameCount; - while (curFrame < destFrame) { + while ((curFrame < destFrame) && !g_vm->shouldQuit()) { TsAGE::Event event; g_globals->_events.getEvent(event); curFrame = g_globals->_events.getFrameNumber(); |