aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld2
diff options
context:
space:
mode:
authorStrangerke2013-11-30 19:03:46 +0100
committerStrangerke2013-11-30 19:03:46 +0100
commit4b110493c1778967f0696136d6da459c948c4bb4 (patch)
tree93846ba70e1597b8260327ae9179d73203a08a11 /engines/tsage/ringworld2
parent1f2685e40ca71eaee8c15b52dcff2ae36b8f8909 (diff)
downloadscummvm-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')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp2
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.h4
2 files changed, 3 insertions, 3 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();
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.h b/engines/tsage/ringworld2/ringworld2_scenes1.h
index 6b0f8859a5..5059554311 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.h
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.h
@@ -314,8 +314,8 @@ public:
int _field4246;
int _field4248;
int _field424A;
- int _field424C;
- int _field424E;
+ int _instructionsDisplayedFl;
+ int _instructionsWaitCount;
SceneObject _upperDisplayCard[8];
SceneObject _lowerDisplayCard[8];