diff --git a/src/search.c b/src/search.c index 55926f2d..8059fff6 100644 --- a/src/search.c +++ b/src/search.c @@ -894,7 +894,7 @@ int Quiesce(int alpha, int beta, int depth, ThreadData* thread, SearchStack* ss) // stand pat if (eval >= beta) - return eval; + return beta; if (eval > alpha) alpha = eval;