diff options
author | Strangerke | 2013-12-18 07:44:40 +0100 |
---|---|---|
committer | Strangerke | 2013-12-18 07:44:40 +0100 |
commit | 4117af414e581046e47272cb4fee7c6fe7c82a22 (patch) | |
tree | a0fa3d96035ed327b41b49f9b2d221c4f63a10db /engines | |
parent | ceaa86c1c45ab7f4d94b3bef64eed049af7144ab (diff) | |
download | scummvm-rg350-4117af414e581046e47272cb4fee7c6fe7c82a22.tar.gz scummvm-rg350-4117af414e581046e47272cb4fee7c6fe7c82a22.tar.bz2 scummvm-rg350-4117af414e581046e47272cb4fee7c6fe7c82a22.zip |
AVALANCHE: Fix out of bound access related to Pascal to C conversion
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/nim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp index 2629b99854..ec2c6055b5 100644 --- a/engines/avalanche/nim.cpp +++ b/engines/avalanche/nim.cpp @@ -300,7 +300,7 @@ void Nim::dogFood() { } while (sorted); // Now we look for A.P.s... - for (int i = 1; i <= 3; i++) { + for (int i = 0; i < 3; i++) { findAp(i, 1); // There are 3 "1"s. if (_lmo) return; // Cut - out. |