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:
Max Roncace
2025-12-06 16:34:47 -05:00
committed by GitHub
parent 00e599304a
commit cf492884ea
316 changed files with 1133 additions and 1267 deletions
+8 -5
View File
@@ -254,11 +254,14 @@ int daNpc_zanB_c::Draw() {
mdlData_p->getMaterialNodePointer(getEyeballMaterialNo())->setMaterialAnm(mpMatAnm[0]);
}
#if DEBUG
return draw(chkAction(&daNpc_zanB_c::test), FALSE, mRealShadowSize, NULL, 0.0f, TRUE, FALSE, FALSE);
#else
return draw(FALSE, FALSE, mRealShadowSize, NULL, 0.0f, TRUE, FALSE, FALSE);
#endif
return draw(
#if DEBUG
chkAction(&daNpc_zanB_c::test),
#else
FALSE,
#endif
FALSE, mRealShadowSize, NULL, 0.0f, TRUE, FALSE, FALSE
);
}
int daNpc_zanB_c::createHeapCallBack(fopAc_ac_c* i_this) {