Make sure no early move generation in null-move reply
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 29 May 2017 15:38:03 +0000 (17:38 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 29 May 2017 15:38:03 +0000 (17:38 +0200)
commitf5e6d07915a206bdc2af3fbe1e91ebcdbf853d18
tree97f47758385349b037aa8b3404acf83a832aa0b8
parent05e9c04cc7f325698fa082687e1f6da3bd207903
Make sure no early move generation in null-move reply

Now that we explicitly test for pinning of the e.p. victim, early move
generation (to test for King capture) is only needed after King moves.
But the toPiece on which we test this can be undefined after null move.
Rather than explicitly testing for null move when setting earlyGen,
we set toPiece to a Pawn when making the null move.
dropper.c