From 7f227f88b2bce72c816256fb83a4971b47c861a2 Mon Sep 17 00:00:00 2001
From: H.G.Muller <hgm@hgm-xboard.(none)>
Date: Sat, 6 Feb 2016 18:18:29 +0100
Subject: [PATCH] Fix using VariantMen PGN tag for both colors

Black pieces were not recognized as the same as white pieces.
---
 moves.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/moves.c b/moves.c
index 0b6b9b4..bd516de 100644
--- a/moves.c
+++ b/moves.c
@@ -256,7 +256,7 @@ LoadPieceDesc (char *s)
 	    if(pieceToChar[piece] != '+') { ok = FALSE; continue; } // promoted form does not exist
 	}
 	ASSIGN(pieceDesc[piece], p);
-	if(piece < BlackPawn && (pieceToChar[WHITE_TO_BLACK piece] == pieceToChar[piece] || promoted)) {
+	if(piece < BlackPawn && (pieceToChar[WHITE_TO_BLACK piece] == pieceToChar[piece] + 32 || promoted)) {
 	    ASSIGN(pieceDesc[WHITE_TO_BLACK piece], p);
 	}
 	pieceDefs = TRUE;
-- 
1.7.0.4