From 05762cd6b61194da488ed586acd332c9d3728029 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Oct 2026 22:49:13 +0300 Subject: [PATCH] Kleines Bug entfernt: --- Startcode/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Startcode/game.c b/Startcode/game.c index 359951c..cf89e04 100644 --- a/Startcode/game.c +++ b/Startcode/game.c @@ -60,7 +60,7 @@ int createWordSalad( // Erstellt das Spielfeld und gibt die Anzahl platzierter W for(int j = 0; j < len; j ++) { - if(Salad[Zeile_Rand][Spalte_Rand + j] == EMPTY_CHAR) + if(salad[Zeile_Rand][Spalte_Rand + j] == EMPTY_CHAR) i ++; } @@ -92,7 +92,7 @@ int createWordSalad( // Erstellt das Spielfeld und gibt die Anzahl platzierter W for(int j = 0; j < len; j ++) { - if(Salad[Zeile_Rand + j][Spalte_Rand] == EMPTY_CHAR) + if(salad[Zeile_Rand + j][Spalte_Rand] == EMPTY_CHAR) { i++; }