From fc199fa05d4c7e63cd55e9cfd73b0a4dd3ee681e Mon Sep 17 00:00:00 2001 From: Robin Avery Date: Sun, 22 Sep 2024 14:16:12 -0400 Subject: [PATCH] Fix build --- src/melee/ft/ft_0CDD.c | 2 +- src/melee/it/items/itlgunray.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/melee/ft/ft_0CDD.c b/src/melee/ft/ft_0CDD.c index a8eaf703a7..1ed4656d58 100644 --- a/src/melee/ft/ft_0CDD.c +++ b/src/melee/ft/ft_0CDD.c @@ -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, diff --git a/src/melee/it/items/itlgunray.c b/src/melee/it/items/itlgunray.c index ea92dfa923..7d35ff965a 100644 --- a/src/melee/it/items/itlgunray.c +++ b/src/melee/it/items/itlgunray.c @@ -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