summaryrefslogtreecommitdiff
path: root/src/d/d_kankyo_data.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-09-07 17:31:29 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-09-07 17:31:29 -0400
commit3e7ece6ff50f48dbce8b044cfcc0851ce4859789 (patch)
tree6ae26e70f5d6e3ad9c2497538ff54a6dbe82e77f /src/d/d_kankyo_data.cpp
parent340d18c6bcc8d6e0640748273109c55ab058df7b (diff)
Copy dolphin/gx progress from TP
Diffstat (limited to 'src/d/d_kankyo_data.cpp')
-rw-r--r--src/d/d_kankyo_data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_kankyo_data.cpp b/src/d/d_kankyo_data.cpp
index a173a6d8..6107f5fd 100644
--- a/src/d/d_kankyo_data.cpp
+++ b/src/d/d_kankyo_data.cpp
@@ -441,7 +441,7 @@ dKyd_Schedule* dKyd_schejule_menu_getp() {
/* 80086F34-80086F74 .text dKyd_xfog_table_set__FUc */
void dKyd_xfog_table_set(u8 i_idx) {
for (int i = 0; i < 10; i++) {
- u16 fogAdjTableEntry = S_xfog_table_data[i_idx].r[i];
- g_env_light.mFogAdjTable.r[i] = fogAdjTableEntry;
+ u16 fogAdjTableEntry = S_xfog_table_data[i_idx].fogVals[i];
+ g_env_light.mFogAdjTable.fogVals[i] = fogAdjTableEntry;
}
}