summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_item.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-04-16 20:48:05 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-04-16 20:48:05 -0400
commite1f3d5ce93f4aabd642414395e883a51a5bc6104 (patch)
treeea78a0fb7063e2f759a4d1efeebc29df61c21743 /src/d/actor/d_a_item.cpp
parent9d746447f9c1047699a0bce5884e8e8b3ec975e2 (diff)
fix some regressions
Diffstat (limited to 'src/d/actor/d_a_item.cpp')
-rw-r--r--src/d/actor/d_a_item.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_item.cpp b/src/d/actor/d_a_item.cpp
index 93ff1759..463ec2db 100644
--- a/src/d/actor/d_a_item.cpp
+++ b/src/d/actor/d_a_item.cpp
@@ -1235,13 +1235,13 @@ void daItem_c::mode_water_init() {
clrFlag(FLAG_UNK04);
scale.set(mScaleTarget.x, mScaleTarget.y, mScaleTarget.z);
- cXyz scale;
+ cXyz particleScale;
f32 temp = dItem_data::getShadowSize(m_itemNo);
f32 temp3 = temp / dItem_data::getShadowSize(dItem_GREEN_RUPEE_e);
temp3 *= scale.x;
- scale.setall(temp3);
+ particleScale.setall(temp3);
- dComIfGp_particle_setShipTail(0x33, &current.pos, NULL, &scale, 0xFF, &mPtclRippleCb);
+ dComIfGp_particle_setShipTail(0x33, &current.pos, NULL, &particleScale, 0xFF, &mPtclRippleCb);
mPtclRippleCb.mRate = 0.0f;
}