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
+1 -3
View File
@@ -251,7 +251,7 @@ int daNpc_ZelRo_c::Draw() {
}
return draw(
#ifdef DEBUG
#if DEBUG
chkAction(&daNpc_ZelRo_c::test),
#else
FALSE,
@@ -626,12 +626,10 @@ int daNpc_ZelRo_c::talk(void* param_1) {
return 0;
}
#ifdef DEBUG
int daNpc_ZelRo_c::test(void* param_1) {
int rt = 0;
return rt;
}
#endif
static int daNpc_ZelRo_Create(void* a_this) {
return static_cast<daNpc_ZelRo_c*>(a_this)->create();