From cdfbad1df2d28b8efb2f7fae5850df56ecf6f8ff Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 27 Jul 2023 09:37:53 +0100 Subject: 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 --- src/entities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entities.c') 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; -- cgit v1.2.3