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:
Marco Costalba 2008-10-27 22:04:47 +01:00
parent 7d717df4e4
commit b2b86cfd27

View file

@ -218,7 +218,7 @@ void MovePicker::score_captures() {
{
m = moves[i].move;
seeValue = pos.see(m);
if (seeValue >= 0)
if (seeValue >= 0 && !pvNode)
{
if (move_promotion(m))
moves[i].score = QueenValueMidgame;