Set castling rights only if enabled
authorFabian Fichter <ianfab@users.noreply.github.com>
Mon, 14 Oct 2019 16:24:27 +0000 (18:24 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Mon, 14 Oct 2019 16:24:27 +0000 (18:24 +0200)
commitfc17463a268f35460ef9d4d6679c6c1a09316872
treee27cf14eb077941553035d1fd9e80f977fb4be6c
parent690075675e98ea687862e4884b85ab6414cf5d05
Set castling rights only if enabled

Makes FEN parsing more robust and allows to support S-Chess without castling.
src/position.cpp