summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc2.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_npc2.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_npc2.cpp')
-rw-r--r--src/d/actor/d_a_npc2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc2.cpp b/src/d/actor/d_a_npc2.cpp
index b7b0e12983..778f0c7efe 100644
--- a/src/d/actor/d_a_npc2.cpp
+++ b/src/d/actor/d_a_npc2.cpp
@@ -754,7 +754,7 @@ int daBaseNpc_moveBgActor_c::MoveBGCreate(char const* i_arcName, int i_dzbId, Mo
return cPhs_ERROR_e;
}
-#ifdef DEBUG
+#if DEBUG
if (mpBgw != NULL && mpBgw->ChkUsed()) {
BOOL isConnect = mDoCPd_c::isConnect(PAD_3);
if (isConnect) {