text
This commit is contained in:
1 parent
70c6635991
commit
fb4211872e
1 file changed
+1
-1
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
* restliche Felder mit zufälligen Buchstaben füllen */
|
* restliche Felder mit zufälligen Buchstaben füllen */
|
||||||
|
|
||||||
// Creates the word salad by placing words randomly and filling empty spaces
|
// Creates the word salad by placing words randomly and filling empty spaces
|
||||||
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int wordCount, char **words)
|
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount)
|
||||||
{
|
{
|
||||||
// 1. Spielfeld vollständig mit EMPTY_CHAR initialisieren
|
// 1. Spielfeld vollständig mit EMPTY_CHAR initialisieren
|
||||||
for (int r = 0; r < MAX_SEARCH_FIELD_LEN; r++) {
|
for (int r = 0; r < MAX_SEARCH_FIELD_LEN; r++) {
|
||||||
|
|||||||
Reference in new issue
Block a user