mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-15 12:08:37 -04:00
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user