mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Extend checks only if SEE is non-negative
Idea from Dr. Hyatt After 10k games at 5"+0 on my QUAD Mod vs Orig +2750 =4601 -2649 +4 ELO Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1948,7 +1948,7 @@ namespace {
|
||||
|
||||
if (*dangerous)
|
||||
{
|
||||
if (moveIsCheck)
|
||||
if (moveIsCheck && pos.see_sign(m)>= 0)
|
||||
result += CheckExtension[PvNode];
|
||||
|
||||
if (singleEvasion)
|
||||
|
||||
Reference in New Issue
Block a user