aboutsummaryrefslogtreecommitdiff
path: root/src/moves.cpp
diff options
context:
space:
mode:
authorPeter B. <peter.bezdek@gmail.com>2026-08-08 18:35:10 +0200
committerPeter B. <peter.bezdek@gmail.com>2026-08-08 18:36:38 +0200
commitba097ea9ce636d45ffd8b4085f1971fae54a2f02 (patch)
treeff5822dbef3103f2efadb04a68de2dfd078cce69 /src/moves.cpp
parent927c375afa9ba3b596fb22da527bb802493ecd27 (diff)
fix: draw counting limit change
Diffstat (limited to 'src/moves.cpp')
-rw-r--r--src/moves.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moves.cpp b/src/moves.cpp
index 6321c77..c1c6a0a 100644
--- a/src/moves.cpp
+++ b/src/moves.cpp
@@ -336,7 +336,7 @@ GameState GetNewGameState(Game *g) {
if (g->state == DRAW || g->state == WHITE_WON || g->state == BLACK_WON) {
return g->state;
}
- if (g->halfMoveClock >= 50) {
+ if (g->halfMoveClock >= 100) {
g->state = DRAW;
}