diff --git a/Rapfi/search/ab/search.cpp b/Rapfi/search/ab/search.cpp index d2ae5f81..68eca731 100644 --- a/Rapfi/search/ab/search.cpp +++ b/Rapfi/search/ab/search.cpp @@ -1076,8 +1076,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth extension += (distSelf <= 4 ? 0.20f : 0.05f); } - // Fail high reduction - if (likelyFailHigh) { + // Fail high reduction/extension + else if (likelyFailHigh) { if (ss->moveP4[self] >= E_BLOCK4) { // If we failed high for two continous E_BLOCK4 moves, extend rather than reduce if ((ss - 2)->moveP4[self] >= E_BLOCK4)