aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-07-24 11:03:52 +0200
committeruruk2013-07-24 11:03:52 +0200
commit9e15eee97059c5baf5db7ad197cbd1f577acad5f (patch)
tree444245243a99f2bb8014a1ef1e35ae97d6d18604 /engines/avalanche
parent984b478132d4d7bd65c17a7ff5728373e5b2fdd9 (diff)
downloadscummvm-rg350-9e15eee97059c5baf5db7ad197cbd1f577acad5f.tar.gz
scummvm-rg350-9e15eee97059c5baf5db7ad197cbd1f577acad5f.tar.bz2
scummvm-rg350-9e15eee97059c5baf5db7ad197cbd1f577acad5f.zip
AVALANCHE: Modify Avalot::run() to don't exit after a single loop, comment out the error in getsettype::remember() until I find out why it is invoked.
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/avalot.cpp2
-rw-r--r--engines/avalanche/trip6.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index ecd1095cfb..d63790fdbd 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -174,7 +174,7 @@ void Avalot::run(Common::String arg) {
_vm->_graph.refreshScreen(); // TODO: Maybe it'll have a better place later. Move it there when it's needed.
- } while (false /*! _vm->_gyro.lmo*/); // So we run only one cycle during the testing. Of course it will be restored later.
+ } while (! _vm->_gyro.lmo);
//restorecrtmode();
//if (logging)
diff --git a/engines/avalanche/trip6.cpp b/engines/avalanche/trip6.cpp
index 82139391df..5f04ebca57 100644
--- a/engines/avalanche/trip6.cpp
+++ b/engines/avalanche/trip6.cpp
@@ -384,8 +384,8 @@ getsettype *getsettype::init() {
void getsettype::remember(bytefield r) {
numleft++;
- if (numleft > maxgetset)
- error("Trip::remember() : runerr_Getset_Overflow");
+ //if (numleft > maxgetset)
+ // error("Trip::remember() : runerr_Getset_Overflow");
gs[numleft] = r;
}