replaced initialization code of _world_objects.objects with new_list

pull/12/head
Sara 2023-07-12 02:29:33 +02:00
parent a139e4f3bb
commit 30d4e4c39a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ int _expand_world() {
return 0;
} else {
for(size_t i = _world_objects.num; i < new_num; ++i) {
_world_objects.objects[i] = NULL;
new_list[i] = NULL;
}
_world_objects.objects = new_list;