X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=600d7a75198500dfd4582f48e76c239ebb5b2a50;hp=b7475577475246fa6892e309bde68afe6bd19097;hb=ce063f59cd0fea215309c719ee56cbf486a5ea80;hpb=3cf6471738dc704ddf553d5f8d2dc9875c2ccbe7 diff --git a/src/search.h b/src/search.h index b7475577..600d7a75 100644 --- a/src/search.h +++ b/src/search.h @@ -80,9 +80,9 @@ struct RootMove { struct LimitsType { LimitsType() { memset(this, 0, sizeof(LimitsType)); } - bool use_time_management() const { return !(movetime | depth | nodes | infinite); } + bool use_time_management() const { return !(mate | movetime | depth | nodes | infinite); } - int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, nodes, movetime, infinite, ponder; + int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, nodes, movetime, mate, infinite, ponder; };