aboutsummaryrefslogtreecommitdiff
path: root/scene.c
diff options
context:
space:
mode:
Diffstat (limited to 'scene.c')
-rw-r--r--scene.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene.c b/scene.c
index 6008942..a0fa46c 100644
--- a/scene.c
+++ b/scene.c
@@ -27,6 +27,7 @@ container_t *container_init(container_t *c, unsigned objs, unsigned mats, unsign
space_t *container_prepare_space(container_t *c)
{
memset(&c->space, 0, sizeof(space_t));
+ return &c->space;
}
// Finds the next empty object_t space