Skip to content

Commit

Permalink
AVALANCHE: Fix out of bound access related to Pascal to C conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Dec 18, 2013
1 parent ceaa86c commit 4117af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/avalanche/nim.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit 4117af4

Please sign in to comment.