summaryrefslogtreecommitdiff
path: root/src/d/d_particle.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-09-05 23:00:43 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-09-05 23:00:43 -0400
commit4e0dcdf62b2d66851e480d1a8c032594c14ca1d0 (patch)
tree096cdfda45f90f624a0c6763387311ed910d8637 /src/d/d_particle.cpp
parent6ed56c2bad174adc4d11c2a731a57f19519380cf (diff)
Cleanup
Diffstat (limited to 'src/d/d_particle.cpp')
-rw-r--r--src/d/d_particle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/d_particle.cpp b/src/d/d_particle.cpp
index a0fe70bd..b54f93fa 100644
--- a/src/d/d_particle.cpp
+++ b/src/d/d_particle.cpp
@@ -479,8 +479,7 @@ void dPa_simpleEcallBack::executeAfter(JPABaseEmitter* param_1) {
dPa_simpleData_c* simpleData = mSimpleData;
param_1->playCreateParticle();
while (mCount != 0) {
- Vec local_38 = simpleData->mPos;
- if (mDoLib_clipper::mClipper.clip(j3dSys.getViewMtx(), local_38, 200.0f) == 0) {
+ if (mDoLib_clipper::clip(j3dSys.getViewMtx(), simpleData->mPos, 200.0f) == 0) {
param_1->setGlobalTranslation(simpleData->mPos.x, simpleData->mPos.y, simpleData->mPos.z);
param_1->setGlobalPrmColor(simpleData->mPrmColor.r, simpleData->mPrmColor.g, simpleData->mPrmColor.b);
param_1->setGlobalAlpha(simpleData->mPrmColor.a);