From 5f5fc4863ff4ab01187aaf85f1c3e4a3992e964f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emily=E2=99=A5?= <77174187+EmilyEmmi@users.noreply.github.com> Date: Sat, 17 Jan 2026 12:36:35 -0500 Subject: [PATCH] Fix certain GraphNodeObject fields not resetting between objects (#1083) disableAutomaticShadowPos, shadowInvisible, and skipInViewCheck now are set to false by default when an object is created --- src/game/spawn_object.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/spawn_object.c b/src/game/spawn_object.c index d0e4c65ca..9972d5535 100644 --- a/src/game/spawn_object.c +++ b/src/game/spawn_object.c @@ -331,6 +331,9 @@ struct Object *allocate_object(struct ObjectNode *objList) { vec3s_zero(obj->header.gfx.angle); obj->header.gfx.throwMatrix = NULL; obj->header.gfx.inited = false; + obj->header.gfx.disableAutomaticShadowPos = false; + obj->header.gfx.shadowInvisible = false; + obj->header.gfx.skipInViewCheck = false; obj->coopFlags = 0; obj->hookRender = 0;