Fix promoting pieces in Shogi
authorH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 26 Jan 2018 13:14:30 +0000 (14:14 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 26 Jan 2018 13:14:30 +0000 (14:14 +0100)
commitb8388c391e8999c30c520672f08cca3b16f0f1da
treef0eab68c9455ce91cce1ac3a7d030cfd5cf73d02
parentd655d3bf4fcf38ba369fa700f3aa538d1ce85da0
Fix promoting pieces in Shogi

Because of a bug in a boolean expression the Gold had become a promoting
piece. The promotion procedure on user moves is now only triggered if
the piece itself was not defined as promoted, AND its partner is defined
as promoted.
backend.c