aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/4-1-maze.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/4-1-maze.c b/src/4-1-maze.c
index c48c31e..10b3963 100644
--- a/src/4-1-maze.c
+++ b/src/4-1-maze.c
@@ -15,7 +15,7 @@
#define grid_cols 10
#define grid_rows grid_cols
-#define obj_n grid_cols* grid_rows
+#define obj_n grid_cols * grid_rows
#define frame_delay 10
@@ -77,6 +77,7 @@ CELL* pop_cell(CELL* arr[], int count){
return NULL;
}
+// TODO: refactor this. this is dumb.
CELL* cell_checkNeighbors(CELL* cell, STUFFS* stuff){
CELL* neighbors[4];
for (int i=0; i<4; i++) { neighbors[i] = NULL; }