summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_kshutter.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_obj_kshutter.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_obj_kshutter.cpp')
-rw-r--r--src/d/actor/d_a_obj_kshutter.cpp8
1 files changed, 4 insertions, 4 deletions
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);