AVALANCHE: Fix out of bound access related to Pascal to C conversion

This commit is contained in:
Strangerke 2013-12-18 07:44:40 +01:00
parent ceaa86c1c4
commit 4117af414e

View File

@ -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.