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
+2 -2
View File
@@ -28,7 +28,7 @@ void jstudio_tAdaptor_message::adaptor_do_MESSAGE(JStudio::data::TEOperationData
break;
}
default:
#ifdef DEBUG
#if DEBUG
JGadget_outMessage msg(JGadget_outMessage::warning, __FILE__, 124);
msg << "unknown data-type : " << iType << "\n demo-object : " << adaptor_getID_string();
int x = 0;
@@ -96,7 +96,7 @@ dDemo_actor_c::~dDemo_actor_c() {
mBtkId = -1;
mBrkId = -1;
#ifdef DEBUG
#if DEBUG
if(dComIfGp_event_getMode() == 0) {
g_dComIfG_gameInfo.play.getEvent().setDebugStb(0);
}