aboutsummaryrefslogtreecommitdiff
path: root/src/entities.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-27 09:37:53 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-27 09:37:53 +0100
commitcdfbad1df2d28b8efb2f7fae5850df56ecf6f8ff (patch)
treeb4117136464e47d3873765093299fe0a027c0075 /src/entities.c
parent6229bb89249c5b842a36b0b7982cc25b47bbafdf (diff)
downloadgold-mine-run-cdfbad1df2d28b8efb2f7fae5850df56ecf6f8ff.tar.gz
gold-mine-run-cdfbad1df2d28b8efb2f7fae5850df56ecf6f8ff.zip
Properly count entities and sure we support enough
This accounts: - entities on the map - entities that will be spawn to unlock doors - the time monster
Diffstat (limited to 'src/entities.c')
-rw-r--r--src/entities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities.c b/src/entities.c
index 6b6c7a1..27d565a 100644
--- a/src/entities.c
+++ b/src/entities.c
@@ -9,7 +9,7 @@
#include "effect.h"
-#define MAX_ENTITY 16
+#define MAX_ENTITY 20
static Entity entities[MAX_ENTITY];
static uint8_t last;