Skip to content
Permalink
Browse files
Update Game Start
  • Loading branch information
marti233 committed Feb 25, 2019
1 parent 1bde1db commit f730f805ddc570a3e4b717938ab4863b86f9f4d6
Showing 1 changed file with 2 additions and 2 deletions.
@@ -68,7 +68,7 @@ retry:
std::cout << "#Which task are you going to do?" << std::endl;
std::cout << "\t >> Enter '1' to collect food" << std::endl;
std::cout << "\t >> Enter '2' to make a tent" << std::endl;
retry:
retry1:
std::cout << "\nEnter your choice ";
std::cin >> choiceTwo2_Path;
if (choiceOne_Path == 1)
@@ -88,7 +88,7 @@ retry:
else
{
std::cout << "You're doing it wrong hero! Press either '1' or '2', that's all!" << std::endl;
goto retry;
goto retry1;
}
}
}

0 comments on commit f730f80

Please sign in to comment.