aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-09-14 01:52:18 +0200
committeruruk2013-09-14 01:52:18 +0200
commitb710844971ec4e193444648239a45446da4ac697 (patch)
tree50e482003e54e5026af60d2a553294af4c4348ae /engines/avalanche
parent7d7e9ef7e6bd2e7c300d5b27947af2446e829fd5 (diff)
downloadscummvm-rg350-b710844971ec4e193444648239a45446da4ac697.tar.gz
scummvm-rg350-b710844971ec4e193444648239a45446da4ac697.tar.bz2
scummvm-rg350-b710844971ec4e193444648239a45446da4ac697.zip
AVALANCHE: Repair regression introduced when removing DNA.
Diffstat (limited to 'engines/avalanche')
-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;