Debug HalfMove and pgn loader

This commit is contained in:
Loic Guegan 2022-02-24 19:11:44 +01:00
parent 065be164cc
commit 8e4a89ea73
5 changed files with 6 additions and 6 deletions

View file

@ -69,6 +69,8 @@ void EditorCanvas::DrawElement(const cgeditor::Element &e) {
p = 'Q';
} else if (e.prop & cgeditor::Property::King) {
p = 'K';
} else if (e.prop & cgeditor::Property::Rook) {
p = 'R';
}
if (e.prop & cgeditor::Property::Black) {
p = std::tolower(p);