removed unnecessary if condition in MakeMove | bench 5105878
This commit is contained in:
1 parent
be6585268b
commit
17a0a97896
1 file changed
-4
@@ -355,10 +355,6 @@ bool Board::MakeMove(Move move) {
|
||||
hashKey ^= UTILS::zEnPassant[enPassantTarget % 8];
|
||||
}
|
||||
|
||||
if (newEpTarget != noEPTarget) {
|
||||
hashKey ^= UTILS::zEnPassant[newEpTarget % 8];
|
||||
}
|
||||
|
||||
enPassantTarget = newEpTarget;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user