解决 RANDOM_BEST_MOVE 未开启时编译不通过的问题

This commit is contained in:
CalciteM 2019-07-04 23:36:28 +08:00
parent b6fb08988b
commit d65e79038d
1 changed files with 2 additions and 0 deletions

View File

@ -711,7 +711,9 @@ const char* NineChessAi_ab::bestMove()
retIndex = 0;
#endif
#ifdef RANDOM_BEST_MOVE
qDebug() << "Return" << retIndex << "of" << bestMovesSize << "results" << "(" << time0 << ")";
#endif
return move2string(bestMoves[retIndex]->move);
}