fix for issue #149

This commit is contained in:
uncletrunks 2020-05-17 11:03:02 -05:00
parent 75ed41ab1a
commit b222decc38
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ void unload_object(struct Object *obj) {
geo_add_child(&gObjParentGraphNode, &obj->header.gfx.node);
obj->header.gfx.node.flags &= ~GRAPH_RENDER_BILLBOARD;
obj->header.gfx.node.flags &= ~GRAPH_RENDER_CYLBOARD;
obj->header.gfx.node.flags &= ~GRAPH_RENDER_ACTIVE;
deallocate_object(&gFreeObjectList, &obj->header);