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_rgate.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_rgate.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_rgate.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/d/actor/d_a_obj_rgate.cpp b/src/d/actor/d_a_obj_rgate.cpp index 2349c84a6d..2194493de3 100644 --- a/src/d/actor/d_a_obj_rgate.cpp +++ b/src/d/actor/d_a_obj_rgate.cpp @@ -239,9 +239,7 @@ int daObjRgate_c::Create() { l_cull_box.max.y, l_cull_box.max.z); if (dComIfG_Bgsp().Regist(mpBgW, this)) { -#ifdef DEBUG - OSReport_Error("キコルの門:BG登録失敗しました\n"); -#endif + OS_REPORT_ERROR("キコルの門:BG登録失敗しました\n"); return 0; } else { for (u16 i = 0; i < mpGateModel->getModelData()->getJointNum(); i++) { @@ -847,9 +845,7 @@ int daObjRgate_c::Draw() { int daObjRgate_c::Delete() { if (mpBgW != NULL && mpBgW->ChkUsed()) { if (dComIfG_Bgsp().Release(mpBgW)) { -#ifdef DEBUG - OSReport("Release Error\n"); -#endif + OS_REPORT("Release Error\n"); } } |
