Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ribbanya committed Sep 22, 2024
1 parent b00a4a6 commit fc199fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/melee/ft/ft_0CDD.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void ftCo_800CE1D4(HSD_GObj* fighter_gobj)
it_8026B594((Item_GObj*) fighter->item_gobj);

if (fighter->item_gobj != NULL) {
it_8028E79C((Item_GObj*) fighter->item_gobj,
it_8028E79C((Item_GObj*) fighter->item_gobj, &pos1,
fighter->facing_dir);
// it_8028E79C((Item_GObj* ) fighter->item_gobj, &pos2,
// fighter->facing_dir); efSync_Spawn(1073, fighter_gobj, pos2,
Expand Down
2 changes: 1 addition & 1 deletion src/melee/it/items/itlgunray.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int it_80298300(HSD_GObj* gobj)
ip->x40_vel.z = 0.0f;
ip->facing_dir = ip->x40_vel.x > 0.0f ? +1.0F : -1.0F;

HSD_JObjSetRotationY(jobj, (M_PI_2 * ip->facing_dir));
HSD_JObjSetRotationY(jobj, M_PI_2 * ip->facing_dir);

HSD_JObjSetRotationX(jobj,
M_PI + atan2f(ip->x40_vel.y, ip->facing_dir == 1.0f
Expand Down

0 comments on commit fc199fa

Please sign in to comment.