Support for NAG

This commit is contained in:
Loic Guegan 2022-12-29 20:28:53 +01:00
parent 02431a6b92
commit d23718225a
3 changed files with 3 additions and 2 deletions

View file

@ -122,6 +122,7 @@ HalfMove *HalfMove::GetMainline() { return (mainline); }
HalfMove::HalfMove(pgnp::HalfMove *m) : capture(' ') {
this->move = m->move;
this->nag = m->NAG;
this->IsBlack = m->isBlack;
this->SetComment(m->comment);
this->Number = m->count;