diff --git a/ConsoleRPG/Game.cpp b/ConsoleRPG/Game.cpp index f751d26..f042fb3 100644 --- a/ConsoleRPG/Game.cpp +++ b/ConsoleRPG/Game.cpp @@ -69,7 +69,7 @@ void Game::mainMenu() cout << "\n" << "Choice: "; cin >> this->choice; - while (cin.fail() || this->choice > 9) + while (cin.fail() || this->choice > 8) { cout << "Faulty input!" << "\n"; cin.clear(); @@ -589,4 +589,4 @@ void Game::rest() cout << "MAYBE NEXT TIME!" << "\n\n"; } } -} \ No newline at end of file +}