Fix promotions in variant normal
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 12 Oct 2014 20:30:39 +0000 (22:30 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 12 Oct 2014 20:30:39 +0000 (22:30 +0200)
The Queen to which we promote must have ID 'Q', or we would print an
incorrect promotion suffix. The Queen in the initial setup can have any
name, as the name is never used. So we supply a duplicate Queen, used
in the initial setup, which is ordered by piece value, while the
Queen obtained through promotion or an edited position has the
sub-optimal ordering.

data/fmax.ini

index dd3b1de..1c28c20 100644 (file)
@@ -295,9 +295,9 @@ k:-1  1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
 k:-1  1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
 n:259 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
 b:296 15,3 17,3 -15,3 -17,3\r
-S:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
-R:444 1,3 16,3 -1,3 -16,3\r
 Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
+R:444 1,3 16,3 -1,3 -16,3\r
+S:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
 \r
 // Chess without castling (intended as shuffle variant)\r
 Game: nocastle\r