Retire HistoryMax

Infact we don't use it anymore already.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-01-15 09:30:07 +01:00
parent d6fdd4f6d9
commit 2052407090
3 changed files with 2 additions and 44 deletions

View File

@@ -247,10 +247,10 @@ void MovePicker::score_evasions() {
{
m = cur->move;
if ((seeScore = pos.see_sign(m)) < 0)
cur->score = seeScore - HistoryMax; // Be sure are at the bottom
cur->score = seeScore - (1 << 29); // Be sure are at the bottom
else if (pos.move_is_capture(m))
cur->score = pos.midgame_value_of_piece_on(move_to(m))
- pos.type_of_piece_on(move_from(m)) + HistoryMax;
- pos.type_of_piece_on(move_from(m)) + (1 << 29);
else
cur->score = H.value(pos.piece_on(move_from(m)), move_to(m));
}