Fix loading of game with multi-leg moves
[xboard.git] / 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: