diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 10:28:36 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 10:28:36 +0200 |
| commit | bc20789325250b1ca6b5b06a8021a99d91a5dc20 (patch) | |
| tree | b0e1b129a3cb33728e58c8b4075493a029ece942 /src/uci.cpp | |
| parent | ca5e947269608757a1af5295f5c77958de341fc3 (diff) | |
fixing memory bug
Diffstat (limited to 'src/uci.cpp')
| -rw-r--r-- | src/uci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uci.cpp b/src/uci.cpp index 4825ece..a2c3672 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -59,7 +59,7 @@ Move UciToMove(string uci) { return {from, to}; } static Game initBoard(string startingFEN) { - Game b; + Game b{}; b.enPassant = IndexToPosition(0); // default value b.canEnpassant = false; b.state = TURN; |
