Add PG option to show tablebase hits
[polyglot.git] / uci.c
diff --git a/uci.c b/uci.c
index 42b5971..eafefe4 100644 (file)
--- a/uci.c
+++ b/uci.c
@@ -715,6 +715,8 @@ static int parse_info(uci_t * uci, const char string[]) {
          ln = my_atoll(argument);
          ASSERT(ln>=0);
 
+         if (ln >= 0) uci->tbhit_nb = ln;
+
       } else if (my_string_equal(option,"time")) {
 
          ASSERT(!my_string_empty(argument));