Add -men option for changing piece moves
[xboard.git] / winboard / woptions.c
index e6d6e80..94b1ef5 100644 (file)
@@ -982,6 +982,7 @@ NewVariantDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
       shuffleOpenings = FALSE; /* [HGM] shuffle: possible shuffle reset when we switch */\r
       startedFromPositionFile = FALSE; /* [HGM] loadPos: no longer valid in new variant */\r
       appData.pieceToCharTable = NULL;\r
+      appData.men = "";\r
       Reset(TRUE, TRUE);\r
 \r
       return TRUE;\r