aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/trip6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/trip6.cpp')
-rw-r--r--engines/avalanche/trip6.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/trip6.cpp b/engines/avalanche/trip6.cpp
index 151e93f444..d41fa10461 100644
--- a/engines/avalanche/trip6.cpp
+++ b/engines/avalanche/trip6.cpp
@@ -319,7 +319,8 @@ void Trip::loadtrip() {
for (gm = 1; gm <= numtr; gm++)
tr[gm].original();
// CHECKME: A 'i++' is missing somewhere, obviously!
- for (int i = 0; i < sizeof(aa); aa[i] = 0);
+ for (int i = 0; i < sizeof(aa); i++)
+ aa[i] = 0;
}
byte Trip::checkfeet(int16 x1, int16 x2, int16 oy, int16 y, byte yl) {