summaryrefslogtreecommitdiff
path: root/src/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/functions.c')
-rw-r--r--src/functions.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/functions.c b/src/functions.c
index 7698540..503d971 100644
--- a/src/functions.c
+++ b/src/functions.c
@@ -656,9 +656,7 @@ void drawNextShape(sfRenderWindow *window)
}
}
-
-/* Cleanup resources */
-void cleanup() {
+void cleanupFld() {
for (int j = 0; j < fldSize.y; j++)
for(int i = 0; i < fldSize.x; i++)
sfRectangleShape_destroy(fld[j][i]);