diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-05 01:33:40 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-05 01:33:40 -0400 |
| commit | e773fe5ca67e569308167b3bbe49052c6bd5de44 (patch) | |
| tree | dffb85cf760cdc844ebc0aaf39173ded9cd4d941 /src/d/d_attention.cpp | |
| parent | 2618f8181158561737f6e9c282b28176d6a6210c (diff) | |
Some particle work and cleanup
Diffstat (limited to 'src/d/d_attention.cpp')
| -rw-r--r-- | src/d/d_attention.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_attention.cpp b/src/d/d_attention.cpp index 1d6b4a9f..354d98fb 100644 --- a/src/d/d_attention.cpp +++ b/src/d/d_attention.cpp @@ -970,7 +970,7 @@ void dAttDraw_c::draw(cXyz &pos, Mtx mtx) { J3DModelData *modeldata = model->getModelData(); if (mpAnmClr == NULL) { J3DAnmColor *color = (J3DAnmColor*)dComIfG_getObjectRes("Always", ALWAYS_BPK_YJ_IN); - modeldata->getMaterialTable().removeMatColorAnimator(color); + modeldata->removeMatColorAnimator(color); } else { mpAnmClr->setFrame(anm->mFrameCtrl.getFrame()); J3DMatColorAnm *p = mpAnmMatClr; @@ -979,7 +979,7 @@ void dAttDraw_c::draw(cXyz &pos, Mtx mtx) { p->setAnmIndex(i); p++; } - modeldata->getMaterialTable().setMatColorAnimator(mpAnmClr, mpAnmMatClr); + modeldata->setMatColorAnimator(mpAnmClr, mpAnmMatClr); } if (mDoGph_gInf_c::isMonotone()) { |
