1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00

Small whitespace changes

This commit is contained in:
Joost VandeVondele 2020-08-02 16:30:00 +02:00
parent f4ecc899d8
commit e45d4f1b65
2 changed files with 28 additions and 26 deletions

View file

@ -819,7 +819,8 @@ void Position::do_move(Move m, StateInfo& newSt, bool givesCheck) {
}
// Move the piece. The tricky Chess960 castling is handled earlier
if (type_of(m) != CASTLING) {
if (type_of(m) != CASTLING)
{
if (Eval::useNNUE)
{
dp0 = piece_id_on(from);
@ -828,6 +829,7 @@ void Position::do_move(Move m, StateInfo& newSt, bool givesCheck) {
evalList.put_piece(dp0, to, pc);
dp.new_piece[0] = evalList.piece_with_id(dp0);
}
move_piece(from, to);
}