Skip to content

Commit a324a3e

Browse files
CraftyawesomeAloril
authored andcommitted
Update chessgame.cpp
Apparently the final piece of cutechess/cutechess#253
1 parent a42d2d6 commit a324a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/lib/src/chessgame.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ QString ChessGame::evalString(const MoveEvaluation& eval, const Chess::Move& mov
5050
int absScore = qAbs(score);
5151

5252
// Detect mate-in-n scores
53-
if (absScore > 9900
54-
&& (absScore = 1000 - (absScore % 1000)) < 100)
53+
if (absScore > 98800
54+
&& (absScore = 1000 - (absScore % 1000)) < 200)
5555
{
5656
if (score < 0)
5757
sScore = "-";

0 commit comments

Comments
 (0)