mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Additional tidy up in timeman.cpp
Fixed some comments and moved/renamed some variables. No functional change.
This commit is contained in:
@@ -193,7 +193,7 @@ template uint64_t Search::perft<true>(Position& pos, Depth depth);
|
||||
|
||||
void Search::think() {
|
||||
|
||||
TimeMgr.init(Limits, RootPos.game_ply(), RootPos.side_to_move());
|
||||
TimeMgr.init(Limits, RootPos.side_to_move(), RootPos.game_ply());
|
||||
|
||||
int contempt = Options["Contempt"] * PawnValueEg / 100; // From centipawns
|
||||
DrawValue[ RootPos.side_to_move()] = VALUE_DRAW - Value(contempt);
|
||||
|
||||
Reference in New Issue
Block a user