Browse Source

bugfix: Wetteinsatz von 0 nicht mehr moeglich

remotes/origin/dev
fdai7472 11 months ago
parent
commit
ad5d29af77
  1. 2
      src/main/c/Stefan/slot_machine.c

2
src/main/c/Stefan/slot_machine.c

@ -42,7 +42,7 @@ int getBet(int balance){
printf("Wetteinsatz: ");
int bet = userInput();
if(bet <= balance && bet >= 0){
if(bet <= balance && bet > 0){
return bet;
} else {
printf("Ungueltige Eingabe!\n");

Loading…
Cancel
Save