mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 12:24:45 -04:00
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user