X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=blobdiff_plain;f=gnushogi%2Fsearch.c;fp=gnushogi%2Fsearch.c;h=72720950e03313023d7590b615f6db56c53c1033;hp=1c4bbf7b994ccedac77b212f99074f7beb3fc49f;hb=a5dcd4c22b91b752f4d7c831318311f14125a29d;hpb=978d019d1fbc6789be06ecd8564ea5393aaed373 diff --git a/gnushogi/search.c b/gnushogi/search.c index 1c4bbf7..7272095 100644 --- a/gnushogi/search.c +++ b/gnushogi/search.c @@ -44,6 +44,7 @@ short PVari; /* Is this the PV */ #endif short zwndw; +short movesLeft, currentMove; @@ -872,6 +873,8 @@ search(short side, #endif /* QUIETBACKGROUND */ dsp->ShowCurrentMove(pnt, node->f, node->t); } + movesLeft = TrPnt[2] - pnt; /* to report with XBoard periodic updates */ + currentMove = node->f << 8 | node->t; } if (!(node->flags & exact))