mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-07-03 10:47:39 +00:00
Debug chessarbiter
This commit is contained in:
parent
04fe528060
commit
dec8f79dba
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue