Order bad captures by MVV/LVA

Instead of by SEE. Almost no ELO change but it is
a bit easier and is a more natural choice given
that good captures are ordered in the same way.

After 10424 games
Mod vs Orig 1639 - 1604 - 7181 ELO +1 (+-3.8)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-01-21 20:53:42 +01:00
parent 830ff985db
commit 24b25b4827
2 changed files with 8 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ private:
MoveStack killers[2];
Square recaptureSquare;
int captureThreshold, phase;
MoveStack *curMove, *lastMove, *lastQuiet, *badCaptures;
MoveStack *curMove, *lastMove, *lastQuiet, *lastBadCapture;
MoveStack moves[MAX_MOVES];
};