Fix analysis mode in non-XBoard build
[bonanza.git] / proce.c
diff --git a/proce.c b/proce.c
index 30ccacb..cfeabe1 100644 (file)
--- a/proce.c
+++ b/proce.c
@@ -95,13 +95,13 @@ procedure( tree_t * restrict ptree )
 
 char *start_pos, start_data[512]; // [HGM] undo: for remembering start position
 int move_list[1024], move_ptr;
+char analyze_mode;
 
 #ifdef XBOARD
 #define IF(X) else if(!strcmp(command, X))
 
 int myTime, hisTime, movesPerSession, inc, plyNr;
 char xboard_mode;
-char analyze_mode;
 
 void
 xboard_to_CSA( tree_t * restrict ptree, char *in, char *out )
@@ -173,7 +173,7 @@ Out("# command = '%s'\n", line);
                    Out("feature option=\"centi-Pawn margin -spin 200 0 25000\"\n");
 #endif
                    Out("feature variants=\"shogi\" usermove=1 myname=\"Bonanza " BNZ_VER
-                       "\" memory=1 smp=1 debug=1 colors=0 setboard=1 ping=1 done=1\n");
+                       "\" memory=1 smp=1 debug=1 colors=0 setboard=1 ping=1 sigint=0 done=1\n");
                  }
   IF("new")      { forceMode = plyNr = 0; SetTimes(); return 0; }
   IF("easy")     { strcpy(line, "ponder off"); return 0; }