Simplify CheckDrops()
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 11 Apr 2018 07:25:00 +0000 (09:25 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 12 Apr 2018 07:14:22 +0000 (09:14 +0200)
commitfda407162ca13f9e702aaca8a89e82738a4acc3c
tree6301515cb4e483cfbaedd27505fd0f9255c2b5a7
parent9336f63a5e043e03cf0e957364c110a161d229f8
Simplify CheckDrops()

CheckDrops() tested half-way the iteration whether it should also try
dropping the unpromoted piece, based on the assumption that we must do
the Pawn iteration for dropping +P, even if dropping P is forbidden.
But in games where +P can be dropped, dropping P (in a place where it
checks) can never be forbidden!
dropper.c