Fix forgetting 'choice' command after promotion
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 8 May 2016 17:35:10 +0000 (19:35 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 8 May 2016 17:35:10 +0000 (19:35 +0200)
commitdbc02c447b13a47e14bb9d4900ad38a311a25f20
treebdcd353923c8963b79d053b9773ef7c364439f76
parent9265e679deea1f5823b004ad06b8667e72493a70
Fix forgetting 'choice' command after promotion

The promotion restriction specified by a 'choice' command is now reset
at the start of every new move, so that future promotion moves won't
use it too. In addition,the 'choice' command is ignored when legality
testing is on.
backend.c