aboutsummaryrefslogtreecommitdiff
path: root/src/world.c
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-10-02 11:51:45 -0600
committernathansmithsmith <nathansmith7@mailfence.com>2023-10-02 11:51:45 -0600
commit5b03b11020a39790b81a00cf5cae8f04bc4caffa (patch)
tree51648dc53d017c613bbffad56fca6fc7133a761f /src/world.c
parentf22a4557c99a8541d2ce3e3f8b61db5a33f4240b (diff)
Started using the level handler
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index c34f17b..0148043 100644
--- a/src/world.c
+++ b/src/world.c
@@ -40,6 +40,8 @@ void freeWorld(World * world) {
if (world->vacantIds != NULL)
KF_FREE(world->vacantIds);
+
+ world->entities = NULL;
}
// Not for direct use.