diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 17:26:01 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-26 17:26:01 +0100 |
| commit | 773646966b6ea0cf69bd374ca55d60a030b873bc (patch) | |
| tree | 4b738c2e65a16abceb9a856444037717561c693c /src | |
| parent | 3806bb74674f305679efdaa2889d155531bc3643 (diff) | |
removed unnecesary function calls; debugging
Diffstat (limited to 'src')
| -rw-r--r-- | src/Game/edit.cpp | 1 | ||||
| -rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
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; |
