diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-16 11:22:34 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-16 11:22:34 +0200 |
| commit | 8e47b8f9f8a017f25a1c9a9baba05b0bf9b12d2d (patch) | |
| tree | 6ee118919928e33d4115d78a6565940f26c8b30c /src/moves.cpp | |
| parent | b0ed5c409f822fa120ef2e2c830842204b0945c1 (diff) | |
perf(draw) instead of having a hash map for three fold repetion check now we have
Diffstat (limited to 'src/moves.cpp')
| -rw-r--r-- | src/moves.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/moves.cpp b/src/moves.cpp index 9e45ff5..6299e55 100644 --- a/src/moves.cpp +++ b/src/moves.cpp @@ -353,9 +353,6 @@ GameState GetNewGameState(Game *g) { if (g->state == DRAW || g->state == WHITE_WON || g->state == BLACK_WON) { return g->state; } - if (g->halfMoveClock >= 100) { - g->state = DRAW; - } auto legalMoves = GetLegalMoves(g); |
