summaryrefslogtreecommitdiff
blob: dfb84f01cbc78faf122b193c9f54c254bbb6ef0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/sliboengine/search.c	2006-04-30 01:47:33.000000000 +0200
+++ src/sliboengine/search.c.new	2006-04-30 01:56:28.000000000 +0200
@@ -282,7 +282,9 @@
         inCheckSig(b);
         b->color = -b->color;
     Move *lastMove = movegen((constBoard *)b, firstMove);
-    (ply <= 0) ? stats.qPos : stats.pos += lastMove - firstMove;
+    if (ply > 0) {
+      stats.pos += lastMove - firstMove;
+    }
 
     Move bestMove;
 #ifdef PREHASH