diff --git a/src/controller/Game.java b/src/controller/Game.java index 26852f4..d3413b9 100755 --- a/src/controller/Game.java +++ b/src/controller/Game.java @@ -165,7 +165,7 @@ public class Game { Color otherColor = (color == Color.BLACK ? Color.WHITE : Color.BLACK); if (depth == 0) { - return b.getHeuristic(color); + return b.getHeuristic(otherColor); } if (inJumpSequence) {