mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Small whitespace changes
This commit is contained in:
parent
f4ecc899d8
commit
e45d4f1b65
2 changed files with 28 additions and 26 deletions
|
@ -819,7 +819,8 @@ void Position::do_move(Move m, StateInfo& newSt, bool givesCheck) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Move the piece. The tricky Chess960 castling is handled earlier
|
// Move the piece. The tricky Chess960 castling is handled earlier
|
||||||
if (type_of(m) != CASTLING) {
|
if (type_of(m) != CASTLING)
|
||||||
|
{
|
||||||
if (Eval::useNNUE)
|
if (Eval::useNNUE)
|
||||||
{
|
{
|
||||||
dp0 = piece_id_on(from);
|
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);
|
evalList.put_piece(dp0, to, pc);
|
||||||
dp.new_piece[0] = evalList.piece_with_id(dp0);
|
dp.new_piece[0] = evalList.piece_with_id(dp0);
|
||||||
}
|
}
|
||||||
|
|
||||||
move_piece(from, to);
|
move_piece(from, to);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue