diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-16 20:48:05 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-16 20:48:05 -0400 |
| commit | e1f3d5ce93f4aabd642414395e883a51a5bc6104 (patch) | |
| tree | ea78a0fb7063e2f759a4d1efeebc29df61c21743 /src/d/actor/d_a_item.cpp | |
| parent | 9d746447f9c1047699a0bce5884e8e8b3ec975e2 (diff) | |
fix some regressions
Diffstat (limited to 'src/d/actor/d_a_item.cpp')
| -rw-r--r-- | src/d/actor/d_a_item.cpp | 6 |
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, ¤t.pos, NULL, &scale, 0xFF, &mPtclRippleCb); + dComIfGp_particle_setShipTail(0x33, ¤t.pos, NULL, &particleScale, 0xFF, &mPtclRippleCb); mPtclRippleCb.mRate = 0.0f; } |
