mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00: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:
parent
a8b9c11f56
commit
221f41c2df
1 changed files with 1 additions and 1 deletions
|
@ -1948,7 +1948,7 @@ namespace {
|
|||
|
||||
if (*dangerous)
|
||||
{
|
||||
if (moveIsCheck)
|
||||
if (moveIsCheck && pos.see_sign(m)>= 0)
|
||||
result += CheckExtension[PvNode];
|
||||
|
||||
if (singleEvasion)
|
||||
|
|
Loading…
Add table
Reference in a new issue