From a337bbb699ec5b9b53d5757a28a0ace33416ea76 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 24 Feb 2013 12:08:37 +0100 Subject: [PATCH] Fix Shatranj --- hachu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hachu.c b/hachu.c index 173aae9..8267b72 100644 --- a/hachu.c +++ b/hachu.c @@ -2233,7 +2233,7 @@ printf("in: %s\n", command); continue; } if(!strcmp(command, "variant")) { - for(i=0; i<5; i++) { + for(i=0; i<6; i++) { sscanf(inBuf+8, "%s", command); if(!strcmp(variants[i].name, command)) { Init(i); stm = Setup2(NULL); break; -- 1.7.0.4