From 1f5f5c9522be1fb9563c73487b68a162a5d0aaa0 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Fri, 20 Jul 2012 21:38:25 +0000 Subject: [PATCH] DroidFish: Fixed crash when engine did not report a ponder move. --- DroidFish/AndroidManifest.xml | 2 +- DroidFish/src/org/petero/droidfish/gamelogic/TextIO.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DroidFish/AndroidManifest.xml b/DroidFish/AndroidManifest.xml index 43b381b..9645163 100644 --- a/DroidFish/AndroidManifest.xml +++ b/DroidFish/AndroidManifest.xml @@ -1,7 +1,7 @@ moves) { + if (move == null) + return false; if (moves == null) { moves = new MoveGen().pseudoLegalMoves(pos); moves = MoveGen.removeIllegal(pos, moves);