|
@@ -96,8 +96,8 @@ void game_results(SlotMachineApp* app) {
|
|
|
// Add the bet amount back to the player's money
|
|
// Add the bet amount back to the player's money
|
|
|
app->money += app->bet;
|
|
app->money += app->bet;
|
|
|
|
|
|
|
|
- // Reset the bet amount
|
|
|
|
|
- app->bet = 0;
|
|
|
|
|
|
|
+ // Reset the bet amount, uncomment me if you want to do this
|
|
|
|
|
+ //app->bet = 0;
|
|
|
|
|
|
|
|
if (total > highscore.highscore) {
|
|
if (total > highscore.highscore) {
|
|
|
highscore.highscore = total;
|
|
highscore.highscore = total;
|