summaryrefslogtreecommitdiff
path: root/src/overlays/effects
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-08-20 01:50:55 -0700
committerGitHub <noreply@github.com>2023-08-20 18:50:55 +1000
commit312fcafe2db9379a01c1b7f1f3ea4cd783ca48fe (patch)
tree8d32f740b6c083cdc82aadd3e1da0c31047b5dd3 /src/overlays/effects
parentc5d6185a88adbd76cd560006fc86d78282460b96 (diff)
Small General cleanup (#1360)
* Draw things * EffectSsFhgFlash_SpawnShock enum * gohtIndex * colliders * ObjGhaka_Init * func_80B3C39C * undef syms
Diffstat (limited to 'src/overlays/effects')
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.c b/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.c
index 4edc1e3b1..c8f5a74c7 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.c
+++ b/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.c
@@ -97,12 +97,12 @@ void EffectSsFhgFlash_Update(PlayState* play, u32 index, EffectSs* this) {
s32 pad;
Vec3f* bodyPartPos;
BossHakugin* goht = (BossHakugin*)this->actor;
- s32 index = goht->unk_191 - 3;
+ s32 gohtIndex = goht->unk_191 - 3;
- if (index < 0) {
+ if (gohtIndex < 0) {
bodyPartPos = &goht->unk_2F00[this->rParams][12].unk_00;
} else {
- bodyPartPos = &goht->unk_2F00[this->rParams][index].unk_00;
+ bodyPartPos = &goht->unk_2F00[this->rParams][gohtIndex].unk_00;
}
this->pos.x = Rand_CenteredFloat(70.0f) + bodyPartPos->x;