From: H.G. Muller Date: Thu, 14 Mar 2013 08:38:22 +0000 (+0100) Subject: Fix Clear Hash option X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2aefc4a37d0c2d644d5dfa479d8731ac31acb1ed;p=fairymax.git Fix Clear Hash option --- diff --git a/fairymax.c b/fairymax.c index b5f0545..50a6f79 100644 --- a/fairymax.c +++ b/fairymax.c @@ -773,7 +773,7 @@ int main(int argc, char **argv) if(sscanf(line+7, "Ini File=%s", filename) == 1) { inifile = filename; continue; } - if(sscanf(line+7, "Clear Hash%c", &c) == 1) for(i=0; i<=U; i++) A->K = 0; + if(sscanf(line+7, "Clear Hash%c", &c) == 1) for(i=0; i<=U; i++) A[i].K = 0; if(sscanf(line+7, "MultiVariation Margin=%d", &margin) == 1) continue; if(sscanf(line+7, "Variant fairy selects=%s", selectedFairy+6) == 1) continue; if(sscanf(line+7, "Cambodian Makruk rules=%d", &Cambodian) == 1) continue;