diff options
| author | Howard Luck <pheenoh@gmail.com> | 2025-06-08 12:01:18 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-08 21:01:18 +0300 |
| commit | 5ec7e42c2d72601ba1852e044222282bdf259141 (patch) | |
| tree | edad5adbaa787aede7597b604cdf1be38ad1ab27 /src/d/actor/d_a_npc4.cpp | |
| parent | 1a7b14537c15fe1429fa924bd90f40a50db66dcd (diff) | |
d_a_npc_kn work (#2274)
* checkpoint
* checkpoint
* checkpoint
* checkpoint
* checkpoint
* fixups
* check
* fixes 2
* fixes 3
* fixes 4
* fixes 5
---------
Co-authored-by: pheenoh <pheenoh@macmini.local>
Co-authored-by: pheenoh <pheenoh@macmini.lan>
Diffstat (limited to 'src/d/actor/d_a_npc4.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc4.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_npc4.cpp b/src/d/actor/d_a_npc4.cpp index 9c8e05983c..2f2d4bda94 100644 --- a/src/d/actor/d_a_npc4.cpp +++ b/src/d/actor/d_a_npc4.cpp @@ -97,7 +97,7 @@ void daNpcF_MatAnm_c::initialize() { mNowOffsetX = 0.0f; mNowOffsetY = 0.0f; mEyeMoveFlag = 0; - field_0x105 = 0; + mMorfFrm = 0; } /* 8015075C-80150870 14B09C 0114+00 1/0 0/0 0/0 .text calc__15daNpcF_MatAnm_cCFP11J3DMaterial */ @@ -109,8 +109,8 @@ void daNpcF_MatAnm_c::calc(J3DMaterial* i_material) const { J3DTexMtxInfo* curr_mtx_info = &i_material->getTexGenBlock()->getTexMtx(i)->getTexMtxInfo(); - if (field_0x105 != 0) { - f32 tmp8 = 1.0f / (field_0x105 + 1); + if (mMorfFrm != 0) { + f32 tmp8 = 1.0f / (mMorfFrm + 1); f32 tmp9 = (1.0f - tmp8); f32 tmp10 = field_0xF4 * (1.0f - tmp8); |
