Introduce and use SCORE_ZERO

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-08-19 16:36:18 +01:00
parent 4419924fcf
commit 5bed82cd4e
4 changed files with 6 additions and 5 deletions

View File

@@ -634,7 +634,7 @@ namespace {
const Color Them = (Us == WHITE ? BLACK : WHITE);
Bitboard b;
Score bonus = make_score(0, 0);
Score bonus = SCORE_ZERO;
// Enemy pieces not defended by a pawn and under our attack
Bitboard weakEnemies = pos.pieces_of_color(Them)