Fix Shatranj
authorH.G. Muller <h.g.muller@hccnet.nl>
Sun, 24 Feb 2013 11:08:37 +0000 (12:08 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Mon, 21 Oct 2013 08:40:23 +0000 (10:40 +0200)
hachu.c

diff --git a/hachu.c b/hachu.c
index 173aae9..8267b72 100644 (file)
--- a/hachu.c
+++ b/hachu.c
@@ -2233,7 +2233,7 @@ printf("in: %s\n", command);
           continue;\r
         }\r
         if(!strcmp(command, "variant")) {\r
-          for(i=0; i<5; i++) {\r
+          for(i=0; i<6; i++) {\r
             sscanf(inBuf+8, "%s", command);\r
             if(!strcmp(variants[i].name, command)) {\r
               Init(i); stm = Setup2(NULL); break;\r