summaryrefslogtreecommitdiff
path: root/src/d/d_cs_game.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-09-27 15:25:37 +0200
committerrobojumper <robojumper@gmail.com>2025-11-22 15:33:12 +0100
commitab5be7e133104df362dbe51991eab469b22574bf (patch)
treeb795bbe5ee5d643d22c63a332f598deb76e257e0 /src/d/d_cs_game.cpp
parent532e06a35a7045e27cfc0de698a16b697ad80415 (diff)
rename EffectsStruct -> dEmitter_c
Diffstat (limited to 'src/d/d_cs_game.cpp')
-rw-r--r--src/d/d_cs_game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_cs_game.cpp b/src/d/d_cs_game.cpp
index f16dfd7e..5159c763 100644
--- a/src/d/d_cs_game.cpp
+++ b/src/d/d_cs_game.cpp
@@ -633,7 +633,7 @@ bool dCsGame_c::lytItemCursor_c::execute() {
f32 sqDist = mPositionThisFrame.squareDistance(mPositionLastFrame);
if (sqDist > sHio.field_0x34 * sHio.field_0x34 ||
(mEffects.hasEmitters() && sqDist > sHio.field_0x38 * sHio.field_0x38)) {
- mEffects.createContinuousUIEffect(
+ mEffects.holdUIEffect(
PARTICLE_RESOURCE_ID_MAPPING_31_, mPositionThisFrame, nullptr, nullptr, nullptr, nullptr
);
}
@@ -770,10 +770,10 @@ void dCsGame_c::lytItemCursor_c::lytDowsingCsr_c::updateEffects() {
mVec2_c csPos = dPad::getDpdPosScreen();
mVec3_c effectPos(csPos.x, csPos.y, 0.0f);
mVec3_c effectScale(sHio.field_0x3C, sHio.field_0x3C, 1.0f);
- mEffects1.createContinuousUIEffect(
+ mEffects1.holdUIEffect(
PARTICLE_RESOURCE_ID_MAPPING_725_, mVec3_c::Zero, nullptr, nullptr, nullptr, nullptr
);
- mEffects2.createContinuousUIEffect(
+ mEffects2.holdUIEffect(
PARTICLE_RESOURCE_ID_MAPPING_726_, effectPos, &mAng3_c::Zero, &effectScale, nullptr, nullptr
);
mEffects1.setGlobalAlpha(alpha);