X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=pgntags.c;h=5b1ac77079950c7e3ab91388b17c3eef378be361;hb=a2f3d790becbea6cd93ec51add89f2251a90bba4;hp=fd74df7fd151f610589fbea4749b627ee8ed1c90;hpb=1a37d04c539f7b8d702c9ea76009ee196969ca38;p=xboard.git diff --git a/pgntags.c b/pgntags.c index fd74df7..5b1ac77 100644 --- a/pgntags.c +++ b/pgntags.c @@ -1,7 +1,7 @@ /* * pgntags.c -- Functions to manage PGN tags * - * Copyright 1995, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * Copyright 1995, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -118,9 +118,7 @@ ParsePGNTag (char *tag, GameInfo *gameInfo) if(*value && strcmp(value, engineVariant)) // keep current engine-defined variant if it matches gameInfo->variant = StringToVariant(value); } else if (StrCaseCmp(name, "VariantMen") == 0) { - /* for now ignore this tag, as we have no method yet */ - /* for assigning the pieces to XBoard pictograms */ - success = TRUE; + success = LoadPieceDesc(value); } else if (StrCaseCmp(name, PGN_OUT_OF_BOOK) == 0) { /* [AS] Out of book annotation */ success = StrSavePtr(value, &gameInfo->outOfBook) != NULL;