diff options
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; |
