mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
A better fix to the cylboard problem
So we've reverted the previous 'fix' and add this one, by @HeavenVolkoff.
This commit is contained in:
parent
d543bd0b3d
commit
bc5942d189
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue