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 9f1a648851
commit a30e617e5a
316 changed files with 1133 additions and 1267 deletions
+4 -6
View File
@@ -641,14 +641,12 @@ void dEvent_manager_c::Sequencer() {
break;
}
if (
if ((dStage_MapEvent_dt_c_getEventSCutSW(mapdata) != 0
#if DEBUG
(dStage_MapEvent_dt_c_getEventSCutSW(mapdata) != 0 || l_HIO.m_enable_skip) &&
#else
dStage_MapEvent_dt_c_getEventSCutSW(mapdata) != 0 &&
|| l_HIO.m_enable_skip
#endif
!evtControl.chkFlag2(2)
) {
) &&
!evtControl.chkFlag2(2)) {
int scut_type = dStage_MapEvent_dt_c_getEventSCutType(mapdata);
if (scut_type == 2) {
evtControl.onSkipFade();