aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/gyro2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/gyro2.cpp b/engines/avalanche/gyro2.cpp
index 17d21f4205..58868069a1 100644
--- a/engines/avalanche/gyro2.cpp
+++ b/engines/avalanche/gyro2.cpp
@@ -239,7 +239,7 @@ void Gyro::resetVariables() {
_sworeNum = 0;
_saveNum = 0;
for (int i = 0; i < 100; i++)
- _roomCount[100] = 0;
+ _roomCount[i] = 0;
_alcoholLevel = 0;
_playedNim = 0;