depth: Apply fix depth to all moves

This commit is contained in:
Calcitem 2021-04-24 01:04:34 +08:00
parent 7dae86e467
commit 76c7ec260f
1 changed files with 4 additions and 4 deletions

View File

@ -428,6 +428,10 @@ void move_priority_list_shuffle()
Depth getSearchDepth(const Position *pos)
{
#if defined(FIX_DEPTH)
return FIX_DEPTH;
#endif
Depth d = 0;
#ifdef _DEBUG
@ -572,10 +576,6 @@ Depth getSearchDepth(const Position *pos)
d = d >= 1 ? d : 1;
#if defined(FIX_DEPTH)
d = FIX_DEPTH;
#endif
assert(d <= 32);
//loggerDebug("Depth: %d\n", d);