diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index 59da78b..aa7a443 100644 Binary files a/build/test/out/c/quizduell.o and b/build/test/out/c/quizduell.o differ diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index 86596dc..5a5dbe4 100755 Binary files a/build/test/out/test_quizduell.out and b/build/test/out/test_quizduell.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index def05ed..8c08e94 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016284099999893442 +:time: 0.01674389999993764 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index d7808c4..6247956 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016402499999912834 +:time: 0.0310532000000876 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 0927522..c0c8f07 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016148200000088764 +:time: 0.016417299999829993 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 56caab4..eeb8bdb 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01684109999996508 +:time: 0.017943500000001222 diff --git a/src/quizduell.c b/src/quizduell.c index 2ab3c45..e66b8c7 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -129,6 +129,11 @@ void quizduell() { } } + if (verfuegbareKategorien == 0) { + printf("No more available categories. Game over!\n"); + return; + } + return; }