Skip to content

Commit

Permalink
fix padding on ftNs_AttackHi4_YoyoCheckEnvColl
Browse files Browse the repository at this point in the history
  • Loading branch information
thefoxcam committed Jul 15, 2024
1 parent 0c161a3 commit 7860a13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/melee/ft/chara/ftNess/ftNs_AttackHi4.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ static inline void push_ecb(CollData* a, Vec3* b)
s32 ftNs_AttackHi4_YoyoCheckEnvColl(HSD_GObj* gobj, Vec3* ECBUnk,
Vec3* ECBUnk2, float float_unk)
{
u8 pad[4];
CollData coll;
ftCollisionBox ecb;
Fighter* fp = gobj->user_data;
Expand All @@ -121,6 +122,7 @@ s32 ftNs_AttackHi4_YoyoCheckEnvColl(HSD_GObj* gobj, Vec3* ECBUnk,
// sp34.cur_topn = ECBUnk2->x0_vec;
// guess: there is a "push ECB" function that handles moving current to
// old, that got called twice and inlined.

push_ecb(&coll, ECBUnk);
push_ecb(&coll, ECBUnk2);

Expand Down

0 comments on commit 7860a13

Please sign in to comment.