mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08:00
position.cpp: fix a typo introduced by recent patch
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -106,7 +106,7 @@ void Position::from_fen(const std::string &fen) {
|
||||
|
||||
// Side to move
|
||||
i++;
|
||||
if (fen[i] != 'w' && fen[i] == 'b')
|
||||
if (fen[i] != 'w' && fen[i] != 'b')
|
||||
{
|
||||
std::cout << "Error in FEN at character " << i << std::endl;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user