]> git.sesse.net Git - stockfish/commitdiff
Slightly better condition in update_hidden_checks()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 28 Feb 2009 08:42:52 +0000 (09:42 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 28 Feb 2009 17:42:51 +0000 (18:42 +0100)
Use a more strict condition to check if we have captured
an opponent pinner or hidden checker.

With this patch the occurrence of checkerCaptured == true are
reduced of 50%.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found