depth: Apply fix depth to all moves
This commit is contained in:
parent
7dae86e467
commit
76c7ec260f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue