From c548d74f4daac078c1338e5f8daf4afe980e08a9 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 18 May 2024 13:06:45 +0200 Subject: move stuff from stack to heap --- include/glass_doors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/glass_doors.h') diff --git a/include/glass_doors.h b/include/glass_doors.h index 07804d5..d3120f5 100644 --- a/include/glass_doors.h +++ b/include/glass_doors.h @@ -11,7 +11,7 @@ typedef struct t_glass_door } glass_door; #define MAX_GLASS_DOORS 100 -glass_door glass_doors[MAX_GLASS_DOORS]; +glass_door* glass_doors; void create_glass_door(object o); void draw_glass_doors(platform_window* window, uint32_t ystart, uint32_t yend); -- cgit v1.2.3-70-g09d2