Skip to content

Commit

Permalink
type change for HassamVars x18
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-avilla committed Mar 27, 2024
1 parent e2a7d14 commit 75a8b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/melee/it/itCommonItems.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ typedef struct HassamVars {
f32 xC;
f32 x10;
f32 x14;
f32 x18_padding;
s32 x18;
s32 x1C;
s32 x20;
u8 padding[0x5C - 0x20];
Expand Down
2 changes: 1 addition & 1 deletion src/melee/it/items/ithassam.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void it_802CE008(Item_GObj* gobj)
ip->entered_hitlag = efLib_PauseAll;
ip->exited_hitlag = efLib_ResumeAll;
it_8027A160(ip->xBBC_dynamicBoneTable->bones[2], ip);
ip->xD44_lifeTimer = M2C_FIELD(attr, s32*, 0x18);
ip->xD44_lifeTimer = attr->x18;
ip->x40_vel.x = attr->x4 * ip->facing_dir;
ip->xDD4_itemVar.hassam.x5C.x = attr->x4 * ip->facing_dir;
ip->xDD4_itemVar.hassam.x5C.z = ip->xDD4_itemVar.hassam.x5C.y = 0.0F;
Expand Down

0 comments on commit 75a8b46

Please sign in to comment.