mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-25 19:42:20 +00:00
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
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:
parent
1cb8cb8e5e
commit
5f5fc4863f
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue