Fix Clear Hash option
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 14 Mar 2013 08:38:22 +0000 (09:38 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 14 Mar 2013 08:38:22 +0000 (09:38 +0100)
fairymax.c

index b5f0545..50a6f79 100644 (file)
@@ -773,7 +773,7 @@ int main(int argc, char **argv)
                        if(sscanf(line+7, "Ini File=%s", filename) == 1) {\r
                                inifile = filename; continue;\r
                        }\r
-                       if(sscanf(line+7, "Clear Hash%c", &c) == 1) for(i=0; i<=U; i++) A->K = 0;\r
+                       if(sscanf(line+7, "Clear Hash%c", &c) == 1) for(i=0; i<=U; i++) A[i].K = 0;\r
                        if(sscanf(line+7, "MultiVariation Margin=%d", &margin) == 1) continue;\r
                        if(sscanf(line+7, "Variant fairy selects=%s", selectedFairy+6) == 1) continue;\r
                        if(sscanf(line+7, "Cambodian Makruk rules=%d", &Cambodian) == 1) continue;\r