]> git.sesse.net Git - stockfish/commitdiff
Promotion piece must be empty if is not a promotion
authorMarco Costalba <mcostalba@gmail.com>
Sun, 22 May 2011 07:35:14 +0000 (08:35 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 22 May 2011 07:48:19 +0000 (08:48 +0100)
Add a new check in  move_is_legal()

Avoid useless casting in move.h while there.

No functional change.

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

No differences found