This commit is contained in:
Loic Guegan 2023-01-02 11:44:11 +01:00
parent 56252f2b6c
commit d1c1031332

View file

@ -193,6 +193,8 @@ bool HalfMove::HasParent(HalfMove*m){
}
bool HalfMove::HasChild(HalfMove*m){
if(m==nullptr)
return false;
if(mainline==m){
return true;
}