generated from freudenreichan/info2Praktikum-Wortsalat
if verbessert
This commit is contained in:
parent
94094ad001
commit
177026d45f
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
||||
placedWords = createWordSalad(wordSalad, SALAD_SIZE, words, wordCount);
|
||||
|
||||
// Check if all words were successfully placed
|
||||
if (placedWords == wordCount)
|
||||
if (placedWords =! 0)
|
||||
{
|
||||
// Start the game if successful
|
||||
startGame(wordSalad, SALAD_SIZE, words, wordCount,800);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user