Fix illegal-move message on seirawan gating from gated pieces
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 28 Dec 2011 13:28:18 +0000 (14:28 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 28 Dec 2011 13:28:18 +0000 (14:28 +0100)
commit5dc87dcd0d60262efa7b5ce308b100371f72bc3d
treee66d0c23a1e47f100c9d03107a1bbf79176ed524
parentc62ef367da4863f395624f3eb02cc9f215b42ada
Fix illegal-move message on seirawan gating from gated pieces

Entering a gating move hen an already-gated piece left the back rank
as interpreted as a on-gating move, rather than rejected. This because
gating moves with non-virgin pieces were interpreted as non-gating
promotions. The test for true promotions is now done on piece type
rather than virginity.
fairymax.c