Makefile angepasst + srand bei gamec eingefügt

This commit is contained in:
Felix Hesse committed 2026-11-02 21:29:59 +01:00
1 parent aef9467e3d
commit da621b8429
2 files changed
+11

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ int createWordSalad(
{
unsigned int placedWords = 0;
srand((unsigned int)time(NULL));
// Check the dimensions
if (searchFieldLen == 0 ||
searchFieldLen > MAX_SEARCH_FIELD_LEN)