Include castle moves in 'dangerous' flag
authorMarco Costalba <mcostalba@gmail.com>
Sat, 14 Jul 2012 11:29:11 +0000 (12:29 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 14 Jul 2012 11:29:11 +0000 (12:29 +0100)
commit9dbda6652e129be1cd68231500da9918ab10e390
treecccb29413265bcef8d66fb63c13e115320e88f78
parent5dc0df843529faacd79e5f46a3a9b015982d2381
Include castle moves in 'dangerous' flag

Simplifies the code and seems more natural.

We have a very small fucntional change becuase now
at PV nodes castles are extended one ply anyhow.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp