aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/gyro2.cpp5
-rw-r--r--engines/avalanche/lucerna2.cpp4
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/avalanche/gyro2.cpp b/engines/avalanche/gyro2.cpp
index f759f89313..fa1298a322 100644
--- a/engines/avalanche/gyro2.cpp
+++ b/engines/avalanche/gyro2.cpp
@@ -356,7 +356,8 @@ void Gyro::newgame() { /* This sets up the DNA for a completely new game. */
_vm->_trip->tr[0].init(0, true, _vm->_trip);
alive = true;
- score = 0; /*for gd:=0 to 5 do which[gd]:=1;*/
+ score = 0;
+ /*for gd:=0 to 5 do which[gd]:=1;*/
memset(&_vm->_gyro->dna, 0, sizeof(dnatype));
_vm->_scrolls->natural();
_vm->_basher->normal_edit();
@@ -377,7 +378,7 @@ void Gyro::newgame() { /* This sets up the DNA for a completely new game. */
seescroll = false;
ppos[0][1] = -177;
- _vm->_trip->tr[0].appear(300,117,right);
+ //_vm->_trip->tr[0].appear(300,117,right);
//for (gd = 0; gd <= 30; gd ++) for (gm = 0; gm <= 1; gm ++) also[gd][gm] = nil;
/* fillchar(previous^,sizeof(previous^),#0); { blank out array } */
him = 254;
diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp
index 1d22deb975..6ca03b073e 100644
--- a/engines/avalanche/lucerna2.cpp
+++ b/engines/avalanche/lucerna2.cpp
@@ -294,9 +294,9 @@ void Lucerna::zoomout(int16 x, int16 y) {
}
void Lucerna::find_people(byte room) {
- for (byte fv = 151; fv <= 178; fv++)
+ for (byte fv = 1; fv < 29; fv++) // There'll may be problems with this.
if (_vm->_gyro->whereis[fv] == room) {
- if (fv < 175)
+ if (fv < 25) // And this. See definition of whereis[].
_vm->_gyro->him = fv;
else
_vm->_gyro->her = fv;