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_fallobj.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_fallobj.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_fallobj.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_obj_fallobj.cpp b/src/d/actor/d_a_obj_fallobj.cpp index 0c92f80583..3387a97f3d 100644 --- a/src/d/actor/d_a_obj_fallobj.cpp +++ b/src/d/actor/d_a_obj_fallobj.cpp @@ -11,7 +11,7 @@ #include "d/d_debug_viewer.h" #include "d/d_procname.h" -#ifdef DEBUG +#if DEBUG daObjFallObj_HIO_c::daObjFallObj_HIO_c() { mMovementShake = 0; @@ -120,7 +120,7 @@ int daObjFallObj_c::create1st() { return phase; } - #ifdef DEBUG + #if DEBUG // Falling obj l_HIO.entryHIO("落下OBJ"); #endif @@ -363,7 +363,7 @@ int daObjFallObj_c::Draw() { mDoExt_modelUpdateDL(mpModel); dComIfGd_setList(); - #ifdef DEBUG + #if DEBUG if (l_HIO.mCheckDisplay) { mpBgW->CalcPlane(); daPy_py_c* player = daPy_getPlayerActorClass(); @@ -381,7 +381,7 @@ int daObjFallObj_c::Delete() { mSoundObj.deleteObject(); dComIfG_resDelete(&mPhaseReq, l_arcName); - #ifdef DEBUG + #if DEBUG l_HIO.removeHIO(); #endif return 1; |
