Make EditPosition pallette work in Asian variants
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 9 Apr 2014 07:19:43 +0000 (09:19 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 9 Apr 2014 07:19:43 +0000 (09:19 +0200)
commit5f5ea25ea2421cdf6d620d05548c2efa3d81783f
tree376dc2c7186ff51b343ede01b4466e93231fefa9
parent3c1691e6776c9e91d1752c0d38d4dd2d616fce07
Make EditPosition pallette work in Asian variants

Construction of the pallette position was not working in variants that
did not have Pawns start on 2nd rank, or that had multiple ranks of pieces.
Now the algorithm is applied to all ranks.
backend.c