make lod cvar affect everything
This commit is contained in:
parent
612da023f0
commit
0aea9b268a
|
@ -131,6 +131,10 @@ void SkelCurve_DrawLimb(PlayState* play, s32 limbIndex, SkelAnimeCurve* skelCurv
|
|||
Matrix_TranslateRotateZYX(&pos, &rot);
|
||||
Matrix_Scale(scale.x, scale.y, scale.z, MTXMODE_APPLY);
|
||||
|
||||
if (CVarGetInteger("gDisableLOD", 0)) {
|
||||
lod = 0;
|
||||
}
|
||||
|
||||
if (lod == 0) {
|
||||
s32 pad1;
|
||||
|
||||
|
|
|
@ -78,6 +78,10 @@ void SkelAnime_DrawLod(PlayState* play, void** skeleton, Vec3s* jointTable,
|
|||
Vec3f pos;
|
||||
Vec3s rot;
|
||||
|
||||
if (CVarGetInteger("gDisableLOD", 0)) {
|
||||
lod = 0;
|
||||
}
|
||||
|
||||
if (skeleton == NULL) {
|
||||
osSyncPrintf(VT_FGCOL(RED));
|
||||
osSyncPrintf("Si2_Lod_draw():skelがNULLです。\n"); // "skel is NULL."
|
||||
|
|
|
@ -11339,10 +11339,6 @@ void Player_Draw(Actor* thisx, PlayState* play2) {
|
|||
lod = 1;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLOD", 0) != 0) {
|
||||
lod = 0;
|
||||
}
|
||||
|
||||
func_80093C80(play);
|
||||
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
|
||||
|
||||
|
|
Loading…
Reference in New Issue