We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c608512 commit f80a850Copy full SHA for f80a850
libs/utilities.c
@@ -29,7 +29,9 @@ void drawPattern(TGame* pGame, char* pattern) {
29
} else if (strcmpi(pattern, "toad") == 0) {
30
newToadPattern(&SPattern);
31
pGame->cellsAlive = 6;
32
- };
+ } else {
33
+ return;
34
+ }
35
36
pGame->cellsDead = (pGame->cols * pGame->rows) - pGame->cellsAlive;
37
pGame->generation = 0;
0 commit comments