[Scummvm-cvs-logs] scummvm master -> a869e763764768c5d0c90e7bd88567e40a35ab01

urukgit urukgit at users.noreply.github.com
Fri Dec 20 09:58:26 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a869e76376 AVALANCHE: Repair Dogfood's AI.


Commit: a869e763764768c5d0c90e7bd88567e40a35ab01
    https://github.com/scummvm/scummvm/commit/a869e763764768c5d0c90e7bd88567e40a35ab01
Author: uruk (koppirnyo at gmail.com)
Date: 2013-12-20T00:57:46-08:00

Commit Message:
AVALANCHE: Repair Dogfood's AI.

Changed paths:
    engines/avalanche/nim.cpp



diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp
index 7e3382a..6ea719f 100644
--- a/engines/avalanche/nim.cpp
+++ b/engines/avalanche/nim.cpp
@@ -430,7 +430,7 @@ void Nim::dogFood() {
 		} while (!sorted);
 
 		// Now we look for A.P.s...
-		for (int i = 0; i < 3; i++) {
+		for (int i = 1; i <= 3; i++) {
 			findAp(i, 1); // There are 3 "1"s.
 			if (_lmo)
 				return; // Cut - out.






More information about the Scummvm-git-logs mailing list