bugfix
parent
873f940725
commit
7a93be6d29
|
@ -247,12 +247,13 @@ void run_programm(int programm, int width, int height, bool *used){
|
||||||
case 9: return_code = test_gruppe_programmname(); break;
|
case 9: return_code = test_gruppe_programmname(); break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// ist dazu da um "\n" aus dem buffer zu entfernen!
|
||||||
|
getchar();
|
||||||
|
|
||||||
switch (return_code) {
|
switch (return_code) {
|
||||||
case 10: used[programm] = 1; break;
|
case 10: used[programm] = 1; break;
|
||||||
case 20: print_game_over(width, height); break;
|
case 20: print_game_over(width, height); break;
|
||||||
}
|
}
|
||||||
// ist dazu da um "\n" aus dem buffer zu entfernen!
|
|
||||||
getchar();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void speed(int width, int height, int *start_time, bool *used){
|
void speed(int width, int height, int *start_time, bool *used){
|
||||||
|
|
Loading…
Reference in New Issue