replaced initialization code of _world_objects.objects with new_list
parent
a139e4f3bb
commit
30d4e4c39a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue