Use VALUE_DRAW instead of VALUE_ZERO where better

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-10-10 09:04:09 +01:00
parent 5dfbbb79be
commit 2feeb206ff
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -994,7 +994,7 @@ namespace {
// Step 2. Check for aborted search and immediate draw
if (AbortSearch || ThreadsMgr.thread_should_stop(threadID))
return VALUE_ZERO;
return VALUE_DRAW;
if (pos.is_draw() || ply >= PLY_MAX - 1)
return VALUE_DRAW;