summaryrefslogtreecommitdiff
path: root/src/d/d_msg_scrn_item.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/d_msg_scrn_item.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/d_msg_scrn_item.cpp')
-rw-r--r--src/d/d_msg_scrn_item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_msg_scrn_item.cpp b/src/d/d_msg_scrn_item.cpp
index 4e16e8afd3..02943d326c 100644
--- a/src/d/d_msg_scrn_item.cpp
+++ b/src/d/d_msg_scrn_item.cpp
@@ -34,7 +34,7 @@ dMsgScrnItem_c::dMsgScrnItem_c(u8 param_1, u8 param_2, JKRExpHeap* param_3) {
int iVar6 = dMsgObject_getMessageID();
bool bVar5 = false;
- #ifdef DEBUG
+ #if DEBUG
if (dMsgObject_getMessageID() >= 0x10cc && dMsgObject_getMessageID() < 0x11cc) {
mItemIndex = dMsgObject_getMessageID() - 0x10cc;
bVar5 = true;
@@ -122,7 +122,7 @@ dMsgScrnItem_c::dMsgScrnItem_c(u8 param_1, u8 param_2, JKRExpHeap* param_3) {
dMeter2Info_setItemColor(
mItemIndex, mpItemPane[0], mpItemPane[1],
mpItemPane[2], NULL);
- #ifdef DEBUG
+ #if DEBUG
if (mItemIndex == 0x81 || mItemIndex == 0x23) {
field_0x19e = true;
}