aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/gyro2.cpp5
-rw-r--r--engines/avalanche/gyro2.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/avalanche/gyro2.cpp b/engines/avalanche/gyro2.cpp
index 078eb1c14d..2dd2a28e0b 100644
--- a/engines/avalanche/gyro2.cpp
+++ b/engines/avalanche/gyro2.cpp
@@ -247,6 +247,11 @@ const char Gyro::betterchar[] = "WMBParCLguKeSnIohn";
Gyro::Gyro() : interrogation(0), oncandopageswap(true) {
for (int i = 0; i < 29; i++)
whereis[i] = static_const_whereis[i];
+
+ /* Needed becouse of Lucerna::load_also() */
+ for (int fv = 0; fv < 31; fv++)
+ for (int ff = 0; ff < 2; ff++)
+ also[fv][ff] = 0;
}
Gyro::~Gyro() {
diff --git a/engines/avalanche/gyro2.h b/engines/avalanche/gyro2.h
index 4aab2236da..e83e0a96b9 100644
--- a/engines/avalanche/gyro2.h
+++ b/engines/avalanche/gyro2.h
@@ -530,7 +530,7 @@ public:
byte cmp; /* current mouse-void **/
Common::String verbstr; /* what you can do with your object. :-) */
- Common::String * also[31][2];
+ Common::String *also[31][2];
pedtype peds[15];
magictype magics[15];
magictype portals[7];