Fix loading of game with multi-leg moves
authorH.G. Muller <h.g.muller@hccnet.nl>
Fri, 4 Oct 2013 10:11:27 +0000 (12:11 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sun, 22 Dec 2013 22:32:04 +0000 (23:32 +0100)
backend.c

index 4c2afbc..71e7099 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -11598,6 +11598,7 @@ LoadGameOneMove (ChessMove readAhead)
         toX = currentMoveString[2] - AAA;
         toY = currentMoveString[3] - ONE;
        promoChar = currentMoveString[4];
+       if(promoChar == ';') promoChar = NULLCHAR;
        break;
 
       case WhiteDrop: