Use endgame evaluation only for moderate variants
authorianfab <ianfab@users.noreply.github.com>
Sun, 15 Jul 2018 10:20:42 +0000 (12:20 +0200)
committerianfab <ianfab@users.noreply.github.com>
Sun, 15 Jul 2018 10:20:42 +0000 (12:20 +0200)
commit8e350d3362804a8c2e327eb222447c490effbcda
treee5767fbae01c5041e03acc1da1698a0184cfb93a
parent0cfe34af00a3848f1b439c38298007b93e27c51a
Use endgame evaluation only for moderate variants

Endgame evaluation functions and scaling factors are no longer applied
to games where they are not applicable, e.g., crazyhouse, giveaway, etc.

No functional change for standard chess.
src/material.cpp
src/position.h
src/variant.cpp
src/variant.h