aboutsummaryrefslogtreecommitdiff
path: root/src/world.c
diff options
context:
space:
mode:
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.