diff options
| author | Caroline Madsen <69010899+randomsalience@users.noreply.github.com> | 2024-03-20 17:41:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 14:41:42 -0700 |
| commit | 5845e695ceaa1c0a86f9a25bb9743bae2b4ba674 (patch) | |
| tree | cd51db36e85ab0cfcbd9d63fa928834127f392d0 /src/d/a/d_a_npc.cpp | |
| parent | 4ea2b399be1dc27cb89a9a191126b0a9154b1f99 (diff) | |
fix setLightTevColorType_MAJI usage (#2103)
Diffstat (limited to 'src/d/a/d_a_npc.cpp')
| -rw-r--r-- | src/d/a/d_a_npc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/a/d_a_npc.cpp b/src/d/a/d_a_npc.cpp index 726b6f7a59..3b30ada6a7 100644 --- a/src/d/a/d_a_npc.cpp +++ b/src/d/a/d_a_npc.cpp @@ -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, ¤t.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, ¤t.pos, &tevStr); - g_env_light.setLightTevColorType_MAJI(model->getModelData(), &tevStr); + g_env_light.setLightTevColorType_MAJI(model, &tevStr); mMcaMorfAnm[0]->entryDL(); } |
