From 773646966b6ea0cf69bd374ca55d60a030b873bc Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 17:26:01 +0100 Subject: removed unnecesary function calls; debugging --- src/Game/edit.cpp | 1 + src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Game/edit.cpp b/src/Game/edit.cpp index 8d9c37f..af89e65 100644 --- a/src/Game/edit.cpp +++ b/src/Game/edit.cpp @@ -13,6 +13,7 @@ int Game::editDiff(){ std::cout << "Board width: "; if(util.catchReturn(util.catchInputInt(Game::boardWidth)) != 0) return 1; + std::cout << Game::boardWidth; std::cout << "Board height: "; if(util.catchReturn(util.catchInputInt(Game::boardHeight)) != 0) return 1; diff --git a/src/main.cpp b/src/main.cpp index d36b797..3e1c1cc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,7 +23,7 @@ int main(){ } else if(choice == 3){ game.initDiff(2); } else if(choice == 4){ - game.initDiff(3); + game.editDiff(); } return 0; -- cgit v1.2.3