Fix FEN generation for S-Chess
authorFabian Fichter <ianfab@users.noreply.github.com>
Mon, 5 Aug 2019 21:01:27 +0000 (23:01 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Mon, 5 Aug 2019 21:01:27 +0000 (23:01 +0200)
commit22fc9678abe3c2fe6d0d23262587dc7a39449abc
treed5a34ba6a06ab0c1db4aa2a20f8cf77bfef6d5b2
parent2bc752b0e3c0b580273ac189832b5fbff1a5d2ed
Fix FEN generation for S-Chess

Prevents generation of illegal castling moves.

Example: reb2rk1/ppppqppp/2nb1n2/4p3/4P3/N1P2N2/PB1PQPPP/RE2KBHR[h] w KQacgh - 3 7
src/position.cpp