From a30e617e5a9b8264053788429a587ee1763eae73 Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Sat, 6 Dec 2025 16:34:47 -0500 Subject: Various debug conditional compilation cleanup (#2915) * Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code --- src/d/actor/d_a_obj_kshutter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/d/actor/d_a_obj_kshutter.cpp') diff --git a/src/d/actor/d_a_obj_kshutter.cpp b/src/d/actor/d_a_obj_kshutter.cpp index 7d2230c1ea..1bd2b6711f 100644 --- a/src/d/actor/d_a_obj_kshutter.cpp +++ b/src/d/actor/d_a_obj_kshutter.cpp @@ -270,7 +270,7 @@ int daObjKshtr_c::CreateHeap() { } } - #ifdef DEBUG + #if DEBUG if (checkKey() != 0) { mIsCheckKey = true; } @@ -320,7 +320,7 @@ cPhs__Step daObjKshtr_c::phase_0() { mType = getType() + 1; mSwNo = getSwNo(); - #ifdef DEBUG + #if DEBUG if (mSwNo == 0xFF) { OS_REPORT_ERROR("鍵付き壁ドア:スイッチ指定がありません\n"); // Locked wall door: No switch specification return cPhs_ERROR_e; @@ -329,7 +329,7 @@ cPhs__Step daObjKshtr_c::phase_0() { initKey(); #endif - #ifdef DEBUG + #if DEBUG if (mType >= 6) { OS_REPORT_ERROR("鍵付き壁ドア:引数0のタイプ指定が不正値です\n"); // Locked wall door: The type specification for argument 0 is invalid @@ -835,7 +835,7 @@ void daObjKshtr_c::anmInit() { JUT_ASSERT(1278, anm != NULL); - #ifdef DEBUG + #if DEBUG if (!mpBckAnm->init(anm, 1, 0, 1.0f, 0, -1, true)) { JUT_ASSERT(1281, FALSE); -- cgit v1.2.3