fix for issue #149
This commit is contained in:
parent
ac97d96a37
commit
6b468f44f6
|
@ -196,6 +196,7 @@ void unload_object(struct Object *obj) {
|
||||||
geo_add_child(&gObjParentGraphNode, &obj->header.gfx.node);
|
geo_add_child(&gObjParentGraphNode, &obj->header.gfx.node);
|
||||||
|
|
||||||
obj->header.gfx.node.flags &= ~GRAPH_RENDER_BILLBOARD;
|
obj->header.gfx.node.flags &= ~GRAPH_RENDER_BILLBOARD;
|
||||||
|
obj->header.gfx.node.flags &= ~GRAPH_RENDER_CYLBOARD;
|
||||||
obj->header.gfx.node.flags &= ~GRAPH_RENDER_ACTIVE;
|
obj->header.gfx.node.flags &= ~GRAPH_RENDER_ACTIVE;
|
||||||
|
|
||||||
deallocate_object(&gFreeObjectList, &obj->header);
|
deallocate_object(&gFreeObjectList, &obj->header);
|
||||||
|
|
Loading…
Reference in New Issue