summaryrefslogtreecommitdiff
path: root/src/d/d_kankyo_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_kankyo_data.cpp')
-rw-r--r--src/d/d_kankyo_data.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/d/d_kankyo_data.cpp b/src/d/d_kankyo_data.cpp
index 0bb6db6d57..c572533fde 100644
--- a/src/d/d_kankyo_data.cpp
+++ b/src/d/d_kankyo_data.cpp
@@ -773,10 +773,7 @@ static GXFogAdjTable S_xfog_table_data[2] = {
};
void dKyd_xfog_table_set(u8 tblIdx) {
- #if DEBUG
- if (g_kankyoHIO.light.field_0x5 != 1)
- #endif
- {
+ if (!(DEBUG && g_kankyoHIO.light.field_0x5 == 1)) {
for (int i = 0; i < 10; i++) {
g_env_light.mXFogTbl.r[i] = S_xfog_table_data[tblIdx].r[i];
}