mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-10-05 11:48:27 -04:00
A couple Midna fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user