diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2026-03-05 23:45:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-05 23:45:11 -0700 |
| commit | 89cd738955bf4cbbcb3f50c4a678b8baeeb75bcb (patch) | |
| tree | 3f5ec29b14781ee1e1764755a6373cc7aad332f7 /src/actors | |
| parent | ba0a24e28fc652aaaa272581831ced8a69614a19 (diff) | |
Fix mistakes (#672)
Diffstat (limited to 'src/actors')
| -rw-r--r-- | src/actors/fake_item_box/render.inc.c | 2 | ||||
| -rw-r--r-- | src/actors/item_box/render.inc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actors/fake_item_box/render.inc.c b/src/actors/fake_item_box/render.inc.c index 176a2eba3..0a65e2067 100644 --- a/src/actors/fake_item_box/render.inc.c +++ b/src/actors/fake_item_box/render.inc.c @@ -25,7 +25,7 @@ void render_actor_fake_item_box(Camera* camera, struct FakeItemBox* fakeItemBox) f32 temp_f2_2; f32 someMultiplier; - FrameInterpolation_RecordOpenChild("Fake Item Box", TAG_ITEM_ADDR((((struct Actor*)fakeItemBox) - gActorList) << 5) || (camera - cameras)); + FrameInterpolation_RecordOpenChild("Fake Item Box", TAG_ITEM_ADDR((((struct Actor*)fakeItemBox) - gActorList) << 5) | (camera - cameras)); if (is_within_render_distance(camera->pos, fakeItemBox->pos, camera->rot[1], 2500.0f, camera->fieldOfView, 1000000.0f) < 0 && diff --git a/src/actors/item_box/render.inc.c b/src/actors/item_box/render.inc.c index 4acc72abe..5c217b060 100644 --- a/src/actors/item_box/render.inc.c +++ b/src/actors/item_box/render.inc.c @@ -27,7 +27,7 @@ void render_actor_item_box(Camera* camera, struct ItemBox* item_box) { f32 temp_f2_2; f32 someMultiplier; - FrameInterpolation_RecordOpenChild("itembox", TAG_ITEM_ADDR((((struct Actor*)item_box) - gActorList) << 5) || (camera - cameras)); + FrameInterpolation_RecordOpenChild("itembox", TAG_ITEM_ADDR((((struct Actor*)item_box) - gActorList) << 5) | (camera - cameras)); temp_f0 = is_within_render_distance(camera->pos, item_box->pos, camera->rot[1], 0.0f, camera->fieldOfView, 4000000.0f); |
