mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +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
|
// Side to move
|
||||||
i++;
|
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;
|
std::cout << "Error in FEN at character " << i << std::endl;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user