Fix certain GraphNodeObject fields not resetting between objects (#1083)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

disableAutomaticShadowPos, shadowInvisible, and skipInViewCheck now are set to false by default when an object is created
This commit is contained in:
Emily♥ 2026-01-17 12:36:35 -05:00 committed by GitHub
parent 1cb8cb8e5e
commit 5f5fc4863f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;