Skip to content

Commit

Permalink
Modify Time Settings control
Browse files Browse the repository at this point in the history
  • Loading branch information
kobanium authored and zakki committed Aug 18, 2017
1 parent b744caa commit 8f970e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/UctSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,11 @@ SetNoExpand(bool flag)
void
SetTimeSettings( int main_time, int byoyomi, int stone )
{
if (mode == CONST_PLAYOUT_MODE ||
mode == CONST_TIME_MODE) {
return ;
}

if (main_time == 0) {
const_thinking_time = (double)byoyomi * 0.85;
mode = CONST_TIME_MODE;
Expand Down Expand Up @@ -543,7 +548,7 @@ void
StopPondering( void )
{
if (!pondering_mode) {
return;
return ;
}

if (ponder) {
Expand Down

1 comment on commit 8f970e6

@Alpha-gosy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ray sir. There is use of rn 4.6file? Where is the rn4.20 exe? And rn 4.20is stronger than r.n 4.61?

Please sign in to comment.