fix setLightTevColorType_MAJI usage (#2103)

This commit is contained in:
Caroline Madsen
2024-03-20 17:41:42 -04:00
committed by GitHub
parent 4ea2b399be
commit 5845e695ce
45 changed files with 61 additions and 59 deletions
+2 -2
View File
@@ -1847,13 +1847,13 @@ int daNpcT_c::draw(int param_0, int i_setEffMtx, f32 param_2, GXColorS10* i_colo
drawGhost();
} else if (field_0xa89 != 0) {
g_env_light.settingTevStruct(4, &current.pos, &tevStr);
g_env_light.setLightTevColorType_MAJI(model->getModelData(), &tevStr);
g_env_light.setLightTevColorType_MAJI(model, &tevStr);
dComIfGd_setListDark();
mMcaMorfAnm[0]->entryDL();
dComIfGd_setList();
} else {
g_env_light.settingTevStruct(0, &current.pos, &tevStr);
g_env_light.setLightTevColorType_MAJI(model->getModelData(), &tevStr);
g_env_light.setLightTevColorType_MAJI(model, &tevStr);
mMcaMorfAnm[0]->entryDL();
}