From: Marco Costalba Date: Sun, 22 May 2011 07:35:14 +0000 (+0100) Subject: Promotion piece must be empty if is not a promotion X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=90e83fa879ccdba066962ad0a9aa5be7c4cd1956;hp=90e83fa879ccdba066962ad0a9aa5be7c4cd1956;p=stockfish Promotion piece must be empty if is not a promotion Add a new check in move_is_legal() Avoid useless casting in move.h while there. No functional change. Signed-off-by: Marco Costalba ---