mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
position.cpp: fix a typo introduced by recent patch
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
f1f887b6d7
commit
e9e51da4b8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue