From bc20789325250b1ca6b5b06a8021a99d91a5dc20 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 10:28:36 +0200 Subject: fixing memory bug --- src/uci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uci.cpp') 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; -- cgit v1.2.3