A couple Midna fixes

This commit is contained in:
Irastris
2026-09-13 02:37:00 -04:00
parent a1938ffd13
commit a70435992e
+8
View File
@@ -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);