Skip to content

Commit

Permalink
Bomb Arrows: Fix fuse graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
lilDavid committed Nov 22, 2024
1 parent 3d556d5 commit 50c7772
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion soh/src/overlays/actors/ovl_En_Bom/z_en_bom.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,12 @@ void EnBom_Update(Actor* thisx, PlayState* play2) {

// spawn spark effect on even frames
effPos = thisx->world.pos;
effPos.y += 17.0f;
if (CVarGetInteger("gHoliday.lilDavid.BombArrows.Active", 0) &&
thisx->parent && thisx->parent->id == ACTOR_EN_ARROW) {
effPos.y += 5.0f;
} else {
effPos.y += 17.0f;
}
if ((play->gameplayFrames % 2) == 0) {
EffectSsGSpk_SpawnFuse(play, thisx, &effPos, &effVelocity, &effAccel);
}
Expand Down

0 comments on commit 50c7772

Please sign in to comment.