mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-06 01:56:28 +02:00
Debug
This commit is contained in:
parent
56252f2b6c
commit
d1c1031332
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,8 @@ bool HalfMove::HasParent(HalfMove*m){
|
|||
}
|
||||
|
||||
bool HalfMove::HasChild(HalfMove*m){
|
||||
if(m==nullptr)
|
||||
return false;
|
||||
if(mainline==m){
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue