summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_vrbox2.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-12-06 16:34:47 -0500
committerGitHub <noreply@github.com>2025-12-06 13:34:47 -0800
commita30e617e5a9b8264053788429a587ee1763eae73 (patch)
treed4f3dbf04e754e5741ba35b1ba1083851be87597 /src/d/actor/d_a_vrbox2.cpp
parent9f1a6488512209cc1acc612aa390e9a4686037ca (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/actor/d_a_vrbox2.cpp')
-rw-r--r--src/d/actor/d_a_vrbox2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_vrbox2.cpp b/src/d/actor/d_a_vrbox2.cpp
index 550fe2c21a..346ce45c97 100644
--- a/src/d/actor/d_a_vrbox2.cpp
+++ b/src/d/actor/d_a_vrbox2.cpp
@@ -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);