Do not always start Makruk & ASEAN as setup position
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 1 Jun 2013 17:56:17 +0000 (19:56 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 1 Jun 2013 17:56:17 +0000 (19:56 +0200)
All engines by now should know the start position by themselves, and
considering it a setup poition would interfere with the possibility for
an engine to load the GUI with the aid of a setup command when it wants
to play a Makruk variant (such as Cambodian or Ai-Wok) with legality
testing off.

backend.c

index f6bbefb..efe3b0e 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -5909,13 +5909,11 @@ InitPosition (int redraw)
     case VariantMakruk:
       pieces = makrukArray;
       nrCastlingRights = 0;
-      startedFromSetupPosition = TRUE;
       SetCharTable(pieceToChar, "PN.R.M....SKpn.r.m....sk");
       break;
     case VariantASEAN:
       pieces = aseanArray;
       nrCastlingRights = 0;
-      startedFromSetupPosition = TRUE;
       SetCharTable(pieceToChar, "PN.R.Q....BKpn.r.q....bk");
       break;
     case VariantTwoKings: