mirror of
https://github.com/zeldaret/tp
synced 2026-08-30 01:20:14 -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:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user