mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user