From: H.G. Muller Date: Fri, 4 Oct 2013 07:48:15 +0000 (+0200) Subject: Fix Shogi promoted pieces X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4a86944f72f015d6cc7850bbad217e530b4acdb8;p=xboard.git Fix Shogi promoted pieces --- diff --git a/draw.c b/draw.c index a3a9cb1..d6be51c 100644 --- a/draw.c +++ b/draw.c @@ -142,8 +142,8 @@ SelectPieces(VariantClass v) if(v == VariantShogi) { pngPieceBitmaps[i][(int)WhiteCannon] = pngPieceBitmaps2[i][(int)WhiteKing+1]; pngPieceBitmaps[i][(int)WhiteNightrider] = pngPieceBitmaps2[i][(int)WhiteKing+2]; - pngPieceBitmaps[i][(int)WhiteSilver] = pngPieceBitmaps2[i][(int)WhiteKing+3]; - pngPieceBitmaps[i][(int)WhiteGrasshopper] = pngPieceBitmaps2[i][(int)WhiteKing+4]; + pngPieceBitmaps[i][(int)WhiteGrasshopper] = pngPieceBitmaps2[i][(int)WhiteKing+3]; + pngPieceBitmaps[i][(int)WhiteSilver] = pngPieceBitmaps2[i][(int)WhiteKing+4]; pngPieceBitmaps[i][(int)WhiteQueen] = pngPieceBitmaps2[i][(int)WhiteLance]; } #ifdef GOTHIC @@ -236,7 +236,7 @@ char *pngPieceNames[] = // must be in same order as internal piece encoding "Canon", "Nightrider", "CrownedBishop", "CrownedRook", "Princess", "Chancellor", "Hawk", "Lance", "Cobra", "Unicorn", "Lion", "GoldPawn", "HSword", "PromoHorse", "PromoDragon", "Leopard", "PromoSword", "King", "Queen", "Lion", "PromoRook", "PromoHSword", "Dolphin", "Chancellor", "Unicorn", "Hawk", "Sword", "Princess", "HCrown", "Knight", "Elephant", "PromoBishop", "King", - "GoldKnight", "GoldLance", "GoldPawn", "GoldSilver", NULL + "GoldPawn", "GoldKnight", "GoldLance", "GoldSilver", NULL }; RsvgHandle *