From 84af44b79b8d6ce50f809cac441d21157be5a32b Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 26 Sep 2011 15:58:07 +0200 Subject: [PATCH] Fix resetting -fSAN on engine change There were two places for loading another engine, Load (from menu) and SetPlayer (in tourneys), and the previous patch for this missed the second one. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 71aa6a5..9b81943 100644 --- a/backend.c +++ b/backend.c @@ -9931,7 +9931,7 @@ SetPlayer(int player) for(i=1; command[i]; i++) if(!strcmp(mnemonic[i], engineName)) break; if(mnemonic[i]) { snprintf(buf, MSG_SIZ, "-fcp %s", command[i]); - ParseArgsFromString(resetOptions); appData.fenOverride[0] = NULL; + ParseArgsFromString(resetOptions); appData.fenOverride[0] = NULL; appData.pvSAN[0] = FALSE; ParseArgsFromString(buf); } free(engineName); -- 1.7.0.4