Extend move_is_legal() to work also when in check
authorMarco Costalba <mcostalba@gmail.com>
Thu, 5 Nov 2009 11:52:40 +0000 (12:52 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 5 Nov 2009 13:58:57 +0000 (14:58 +0100)
commit1c73c1c15026766fb1b77b45d58a0c5b98139ae6
treea49132da15755e27e16b698c1ee51dd14aa5baf5
parent423b8b9ded6d3128680a87fcede0016d93fec9ba
Extend move_is_legal() to work also when in check

This patch is a prerequisite to use TT phase
during evasions.

No functional change.

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