From a70435992ea5461a5aed94295b88710fe1819c87 Mon Sep 17 00:00:00 2001 From: Irastris Date: Sun, 13 Sep 2026 02:37:00 -0400 Subject: [PATCH] A couple Midna fixes --- src/d/actor/d_a_midna.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/d/actor/d_a_midna.cpp b/src/d/actor/d_a_midna.cpp index 8517c6a7c0..15fcf9b6ef 100644 --- a/src/d/actor/d_a_midna.cpp +++ b/src/d/actor/d_a_midna.cpp @@ -514,6 +514,7 @@ int daMidna_c::createHeap() { ResTIMG* timg = tex->getResTIMG(i); timg->mipmapEnabled = false; tex->initGXTexObj(i); + modelData->makeSharedDL(); break; } } @@ -2168,6 +2169,13 @@ void daMidna_c::setAnm() { } if (anm == ANM_S_APPEAR || anm == ANM_S_APPEARBL) { +#if TARGET_PC + mpShadowModel->forgetMtx(); + mpShadowMaskBmd->forgetMtx(); + mpShadowHandsBmd->forgetMtx(); + mpShadowHairhandBmd->forgetMtx(); + mpGokouBmd->forgetMtx(); +#endif mSound.startCreatureSound(Z2SE_MIDNA_APPEAR, 0, -1); } else if (anm == ANM_S_RETURN || anm == ANM_RETURN) { mSound.startCreatureSound(Z2SE_MIDNA_DISAPPEAR, 0, -1);