diff options
| author | Max Roncace <me@caseif.net> | 2025-12-06 16:34:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 13:34:47 -0800 |
| commit | a30e617e5a9b8264053788429a587ee1763eae73 (patch) | |
| tree | d4f3dbf04e754e5741ba35b1ba1083851be87597 /src/d/actor/d_a_obj_sakuita_rope.cpp | |
| parent | 9f1a6488512209cc1acc612aa390e9a4686037ca (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_sakuita_rope.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_sakuita_rope.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_obj_sakuita_rope.cpp b/src/d/actor/d_a_obj_sakuita_rope.cpp index c0cef88f63..66585092e2 100644 --- a/src/d/actor/d_a_obj_sakuita_rope.cpp +++ b/src/d/actor/d_a_obj_sakuita_rope.cpp @@ -9,7 +9,7 @@ #include "d/d_com_inf_game.h" #include "d/d_path.h" -#ifdef DEBUG +#if DEBUG #include "d/d_a_obj.h" class daObjItaRope_Hio_c : public JORReflexible { @@ -139,12 +139,12 @@ void Sakuita_c::calcAngle() { static char* l_arcName = "A_Sakuita"; -#ifdef DEBUG +#if DEBUG daObjItaRope_Hio_c M_hio; #endif inline daObjItaRope_c::~daObjItaRope_c() { -#ifdef DEBUG +#if DEBUG M_hio.dt(); #endif delete [] mRopes; @@ -207,7 +207,7 @@ void daObjItaRope_c::create_init() { pSakuita->create(pPos, sVar12, fopAcM_GetRoomNo(this)); } - #ifdef DEBUG + #if DEBUG M_hio.ct(); #endif } |
