depth: Fix level setting do not take effect in moving phrase (critical)
This commit is contained in:
parent
dc871776aa
commit
7553d2685e
|
@ -498,6 +498,8 @@ Depth get_search_depth(const Position *pos)
|
|||
return (Depth)level;
|
||||
}
|
||||
}
|
||||
} else if (pos->phase == Phase::moving) {
|
||||
return (Depth)level;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue