]> git.sesse.net Git - stockfish/commitdiff
Use special handling for promotions in move_is_legal()
authorMarco Costalba <mcostalba@gmail.com>
Sun, 3 Oct 2010 10:10:08 +0000 (11:10 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 3 Oct 2010 10:15:53 +0000 (11:15 +0100)
Simplifies a bit the code and the common case too.

No functional change.

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

No differences found