aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/HalfMove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/HalfMove.cpp')
-rw-r--r--src/game_tab/HalfMove.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_tab/HalfMove.cpp b/src/game_tab/HalfMove.cpp
index 9a4558c..735f17c 100644
--- a/src/game_tab/HalfMove.cpp
+++ b/src/game_tab/HalfMove.cpp
@@ -28,7 +28,7 @@ HalfMove::HalfMove(HalfMove *m){
IsBlack = m->IsBlack;
Number = m->Number;
nag = m->nag;
- SetComment(m->GetComment());
+ comment=m->comment;
if(m->mainline != NULL){
SetMainline(new HalfMove(m->mainline));
}
@@ -141,7 +141,7 @@ HalfMove::HalfMove(pgnp::HalfMove *m) : capture(' ') {
this->move = m->move;
this->nag = m->NAG;
this->IsBlack = m->isBlack;
- this->SetComment(m->comment);
+ this->comment=m->comment;
this->Number = m->count;
if (m->MainLine != NULL) {
this->SetMainline(new HalfMove(m->MainLine));