mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
MovePicker::score_captures() order with SEE when pv
Order PV nodes by SEE instead of MVV/LVA. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
7d717df4e4
commit
b2b86cfd27
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ void MovePicker::score_captures() {
|
||||||
{
|
{
|
||||||
m = moves[i].move;
|
m = moves[i].move;
|
||||||
seeValue = pos.see(m);
|
seeValue = pos.see(m);
|
||||||
if (seeValue >= 0)
|
if (seeValue >= 0 && !pvNode)
|
||||||
{
|
{
|
||||||
if (move_promotion(m))
|
if (move_promotion(m))
|
||||||
moves[i].score = QueenValueMidgame;
|
moves[i].score = QueenValueMidgame;
|
||||||
|
|
Loading…
Add table
Reference in a new issue