1
0
Fork 0
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:
Marco Costalba 2008-09-28 10:54:50 +01:00
parent f1f887b6d7
commit e9e51da4b8

View file

@ -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;