From 75d123b79dc894f2c2de43f25009b5fa84a00eec Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 30 Nov 2017 15:45:43 +0300 Subject: Redefine structures with typedef; A bit of code movement --- src/functions.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/functions.c') 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]); -- cgit v1.2.3