mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-30 13:22:18 -05:00
Fix disable lod breaking certain effects (#4245)
This commit is contained in:
parent
7bc2259c82
commit
7a00658be9
@ -131,10 +131,6 @@ void SkelCurve_DrawLimb(PlayState* play, s32 limbIndex, SkelAnimeCurve* skelCurv
|
|||||||
Matrix_TranslateRotateZYX(&pos, &rot);
|
Matrix_TranslateRotateZYX(&pos, &rot);
|
||||||
Matrix_Scale(scale.x, scale.y, scale.z, MTXMODE_APPLY);
|
Matrix_Scale(scale.x, scale.y, scale.z, MTXMODE_APPLY);
|
||||||
|
|
||||||
if (CVarGetInteger("gDisableLOD", 0)) {
|
|
||||||
lod = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (lod == 0) {
|
if (lod == 0) {
|
||||||
s32 pad1;
|
s32 pad1;
|
||||||
|
|
||||||
|
@ -11339,10 +11339,6 @@ void Player_Draw(Actor* thisx, PlayState* play2) {
|
|||||||
lod = 1;
|
lod = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CVarGetInteger("gDisableLOD", 0)) {
|
|
||||||
lod = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
func_80093C80(play);
|
func_80093C80(play);
|
||||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user