summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_toby.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-12-06 16:34:47 -0500
committerGitHub <noreply@github.com>2025-12-06 13:34:47 -0800
commita30e617e5a9b8264053788429a587ee1763eae73 (patch)
treed4f3dbf04e754e5741ba35b1ba1083851be87597 /src/d/actor/d_a_npc_toby.cpp
parent9f1a6488512209cc1acc612aa390e9a4686037ca (diff)
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
Diffstat (limited to 'src/d/actor/d_a_npc_toby.cpp')
-rw-r--r--src/d/actor/d_a_npc_toby.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/d/actor/d_a_npc_toby.cpp b/src/d/actor/d_a_npc_toby.cpp
index 3599d0656e..e8ea58b0be 100644
--- a/src/d/actor/d_a_npc_toby.cpp
+++ b/src/d/actor/d_a_npc_toby.cpp
@@ -418,9 +418,10 @@ int daNpc_Toby_c::Draw() {
#if DEBUG
chkAction(&daNpc_Toby_c::test),
#else
- 0,
+ FALSE,
#endif
- 0, mRealShadowSize, NULL, 100.0f, 0, 0, 0);
+ FALSE, mRealShadowSize, NULL, 100.0f, 0, 0, 0
+ );
}
int daNpc_Toby_c::createHeapCallBack(fopAc_ac_c* i_this) {
@@ -2182,11 +2183,9 @@ int daNpc_Toby_c::talk(void*) {
return 0;
}
-#if DEBUG
int daNpc_Toby_c::test(void* param_0) {
// TODO
}
-#endif
static int daNpc_Toby_Create(void* i_this) {
return static_cast<daNpc_Toby_c*>(i_this)->create();