Enable regHIO for Wii USA R0 (#2953)

This commit is contained in:
Max Roncace
2025-12-15 20:06:10 -05:00
committed by GitHub
parent 618a3783f8
commit b9cb15ad98
12 changed files with 52 additions and 16 deletions
+11 -1
View File
@@ -218,7 +218,17 @@ int daSCannon_c::draw() {
if (mDrawShadow) {
cXyz sp8(current.pos.x, current.pos.y, current.pos.z);
mShadowKey = dComIfGd_setShadow(mShadowKey, 1, mpModels[mIsRepaired], &sp8, 2500.0f, 0.0f, current.pos.y + aREG_F(1), mGroundY + aREG_F(3), mGroundPoly, &tevStr, 0, 1.0f, dDlst_shadowControl_c::getSimpleTex());
#if DEBUG
mShadowKey = dComIfGd_setShadow(mShadowKey, 1, mpModels[mIsRepaired], &sp8, 2500.0f, 0.0f,
current.pos.y + aREG_F(1), mGroundY + aREG_F(3),
mGroundPoly, &tevStr, 0, 1.0f,
dDlst_shadowControl_c::getSimpleTex());
#else
mShadowKey = dComIfGd_setShadow(mShadowKey, 1, mpModels[mIsRepaired], &sp8, 2500.0f, 0.0f,
current.pos.y, mGroundY,
mGroundPoly, &tevStr, 0, 1.0f,
dDlst_shadowControl_c::getSimpleTex());
#endif
}
return 1;