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
@@ -12,7 +12,7 @@
#include "d/d_cc_uty.h"
#include "d/d_com_inf_game.h"
#include "d/d_com_inf_actor.h"
#ifdef DEBUG
#if DEBUG
#include "d/d_debug_viewer.h"
#endif
#include "d/d_msg_object.h"
@@ -1468,7 +1468,7 @@ int daObj_GrA_c::talk(void* param_1) {
}
if (mMsgFlow.doFlow(this, NULL, 0) != 0) {
#ifdef DEBUG
#if DEBUG
char* cVar1;
int choiceNo = mMsgFlow.getChoiceNo();
if (choiceNo != 0) {