diff --git a/src/corelib/world.c b/src/corelib/world.c index af89ea5..a7ce34b 100644 --- a/src/corelib/world.c +++ b/src/corelib/world.c @@ -16,6 +16,7 @@ int _expand_world() { size_t new_num = _world_objects.num * 2; object_t** new_list = realloc(_world_objects.objects, new_num * sizeof(object_t*)); if(new_list == NULL) { + printf("ERROR: failed to expand world when requesting additional objects\n"); return 0; } else { _world_objects.objects = new_list;