From b710844971ec4e193444648239a45446da4ac697 Mon Sep 17 00:00:00 2001 From: uruk Date: Sat, 14 Sep 2013 01:52:18 +0200 Subject: AVALANCHE: Repair regression introduced when removing DNA. --- engines/avalanche/gyro2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/avalanche') 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; -- cgit v1.2.3