diff options
| author | Max Roncace <me@caseif.net> | 2025-12-06 16:34:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 13:34:47 -0800 |
| commit | a30e617e5a9b8264053788429a587ee1763eae73 (patch) | |
| tree | d4f3dbf04e754e5741ba35b1ba1083851be87597 /src/d/d_kankyo_data.cpp | |
| parent | 9f1a6488512209cc1acc612aa390e9a4686037ca (diff) | |
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined
* Clean up DEBUG-guarded code
Diffstat (limited to 'src/d/d_kankyo_data.cpp')
| -rw-r--r-- | src/d/d_kankyo_data.cpp | 5 |
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]; } |
