diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-08-19 17:04:15 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-08-19 17:04:15 -0400 |
| commit | 1616dcfc321af02dafc212b885384c1dc710e601 (patch) | |
| tree | 9d54566661c5bc08ea276979a98e50b14375d0f9 /src/d/actor/d_a_npc_fa1.cpp | |
| parent | 9ea5ccfb255c1f39d8806a4a8ed3714f051d1e57 (diff) | |
d_a_npc_fa1 100% on retail
Diffstat (limited to 'src/d/actor/d_a_npc_fa1.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_fa1.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_fa1.cpp b/src/d/actor/d_a_npc_fa1.cpp index 9fc11e59..c488b688 100644 --- a/src/d/actor/d_a_npc_fa1.cpp +++ b/src/d/actor/d_a_npc_fa1.cpp @@ -224,8 +224,9 @@ BOOL daNpc_Fa1_c::_draw() { g_env_light.settingTevStruct(TEV_TYPE_ACTOR, ¤t.pos, &tevStr); g_env_light.setLightTevColorType(pJVar1, &tevStr); mpDoExt_McaMorf->entryDL(); - if (mGroundY != -G_CM3D_F_INF) { - dComIfGd_setSimpleShadow(¤t.pos, mGroundY, 10.0f, &m774, 0, 1.0f, + f32 ground_y = mGroundY; + if (ground_y != -G_CM3D_F_INF) { + dComIfGd_setSimpleShadow(¤t.pos, ground_y, 10.0f, &m774, 0, 1.0f, dDlst_shadowControl_c::getSimpleTex()); } dSnap_RegistFig(DSNAP_TYPE_FA, this, 1.0f, 1.0f, 1.0f); |
