summaryrefslogtreecommitdiff
path: root/include/glass_doors.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-18 13:06:45 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-18 13:06:45 +0200
commitc548d74f4daac078c1338e5f8daf4afe980e08a9 (patch)
tree003ded17200ae0bf19f8a56cd7276cf7e590cebb /include/glass_doors.h
parentf646ddb88ec19307d42729b7babdb77966449327 (diff)
move stuff from stack to heap
Diffstat (limited to 'include/glass_doors.h')
-rw-r--r--include/glass_doors.h2
1 files changed, 1 insertions, 1 deletions
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);