mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Don't initialize psqt-tables when 'ucinewgame' is received
After 'Randomness' is retired, this is no longer necessary. NOTE: Possibly some extra care is needed when tuning branch is synced Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
d3260ce70f
commit
098ac5e44e
@@ -126,7 +126,6 @@ namespace {
|
|||||||
else if (token == "ucinewgame")
|
else if (token == "ucinewgame")
|
||||||
{
|
{
|
||||||
push_button("New Game");
|
push_button("New Game");
|
||||||
Position::init_piece_square_tables();
|
|
||||||
RootPosition.from_fen(StartPositionFEN);
|
RootPosition.from_fen(StartPositionFEN);
|
||||||
}
|
}
|
||||||
else if (token == "isready")
|
else if (token == "isready")
|
||||||
|
|||||||
Reference in New Issue
Block a user