From bc5942d189b048269f421f3c691fcf9fecece643 Mon Sep 17 00:00:00 2001 From: "V. R. Miguel" <36349314+vrmiguel@users.noreply.github.com> Date: Sun, 17 May 2020 03:34:05 -0300 Subject: [PATCH] A better fix to the cylboard problem So we've reverted the previous 'fix' and add this one, by @HeavenVolkoff. --- src/game/spawn_object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/spawn_object.c b/src/game/spawn_object.c index 5e416584..cc15c8e9 100644 --- a/src/game/spawn_object.c +++ b/src/game/spawn_object.c @@ -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);