]> git.sesse.net Git - stockfish/commitdiff
Micro optimize and rename move_promotion()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 20 Jun 2009 07:31:39 +0000 (08:31 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 20 Jun 2009 08:04:32 +0000 (09:04 +0100)
Rename to move_is_promotion() to be more clear, also add
a new function move_promotion_piece() to get the
promotion piece type in the few places where is needed.

No functional change.

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

No differences found