mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 18:27:26 +00:00
AVALANCHE: Fix out of bound access related to Pascal to C conversion
This commit is contained in:
parent
ceaa86c1c4
commit
4117af414e
@ -300,7 +300,7 @@ void Nim::dogFood() {
|
|||||||
} while (sorted);
|
} while (sorted);
|
||||||
|
|
||||||
// Now we look for A.P.s...
|
// 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.
|
findAp(i, 1); // There are 3 "1"s.
|
||||||
if (_lmo)
|
if (_lmo)
|
||||||
return; // Cut - out.
|
return; // Cut - out.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user