mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 12:52:51 -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:
@@ -107,7 +107,7 @@ static int daVrbox2_Draw(vrbox2_class* i_this) {
|
||||
var_f31 = dStage_FileList_dt_SeaLevel(filelist_p);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
if (g_kankyoHIO.vrbox.field_0x14 != 0) {
|
||||
var_f31 = g_kankyoHIO.vrbox.m_horizonHeight;
|
||||
} else {
|
||||
@@ -139,7 +139,7 @@ static int daVrbox2_Draw(vrbox2_class* i_this) {
|
||||
cXyz sp14;
|
||||
sp14 = sun_p->mPos[0];
|
||||
|
||||
#ifndef DEBUG
|
||||
#if !DEBUG
|
||||
cXyz sp8;
|
||||
if (strcmp(dComIfGp_getStartStageName(), "F_SP102") == 0) {
|
||||
dKyr_get_vectle_calc(&camera_p->lookat.eye, &g_env_light.sun_pos, &sp8);
|
||||
|
||||
Reference in New Issue
Block a user