Debug chessarbiter

This commit is contained in:
Loic Guegan 2022-12-26 22:05:42 +01:00
parent 04fe528060
commit dec8f79dba
3 changed files with 5 additions and 5 deletions

View file

@ -178,7 +178,7 @@ bool HalfMove::IsABlackMove() { return (IsBlack); }
void HalfMove::BuildAndVerify(HalfMove *m, std::string fen) {
arbiter.Setup(fen);
bool work = arbiter.Play(arbiter.ParseSAN(m->move));
bool work = arbiter.Play(arbiter.ParseSAN(m->move),arbiter.ParseSANPromotion(m->move));
if (!work) {
wxLogDebug("Bug! %s", m->move);
}