Skip to content

Commit

Permalink
remove child_flags variable in it_80283CD4
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-avilla committed Feb 27, 2024
1 parent 96ccb20 commit 2cda57b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/melee/it/items/itheart.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ bool it_80283CD4(Item_GObj* gobj)
HSD_JObj* child;
f32 rotation_increment;
bool var_r3;
u32 child_flags;
HSD_JObj* jobj = gobj->hsd_obj;
PAD_STACK(8);

Expand All @@ -140,10 +139,9 @@ bool it_80283CD4(Item_GObj* gobj)
if (child == NULL) {
__assert("jobj.h", 0x234U, "jobj");
}
child_flags = child->flags;
var_r3 = false;
if (!(child_flags & JOBJ_USER_DEF_MTX) &&
(child_flags & JOBJ_MTX_DIRTY))
if (!(child->flags & JOBJ_USER_DEF_MTX) &&
(child->flags & JOBJ_MTX_DIRTY))
{
var_r3 = true;
}
Expand Down

0 comments on commit 2cda57b

Please sign in to comment.