summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_glowSphere.h
diff options
context:
space:
mode:
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>2026-06-20 03:26:56 +0200
committerGitHub <noreply@github.com>2026-06-19 18:26:56 -0700
commit8d43c80c42f1a4c3835a2124ebeaf044c90e3839 (patch)
tree8ee87394a9003a4ed4d8b0e19b501eff21d02c61 /include/d/actor/d_a_obj_glowSphere.h
parentfc1515fe6177e351b6e9c182979bcd57a1c9cd9f (diff)
Code cleanup to fix warnings in Dusklight (#3167)
Mostly bool/int mixing
Diffstat (limited to 'include/d/actor/d_a_obj_glowSphere.h')
-rw-r--r--include/d/actor/d_a_obj_glowSphere.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/d/actor/d_a_obj_glowSphere.h b/include/d/actor/d_a_obj_glowSphere.h
index f620306408..6d22f8bcf2 100644
--- a/include/d/actor/d_a_obj_glowSphere.h
+++ b/include/d/actor/d_a_obj_glowSphere.h
@@ -123,10 +123,10 @@ public:
u8 getArg0() { return fopAcM_GetParamBit(this, 8, 8); }
u8 getColor() { return fopAcM_GetParamBit(this, 0x10, 8); }
- void onGetFlag() { mGetFlag = true; }
- void offGetFlag() { mGetFlag = false; }
+ void onGetFlag() { mGetFlag = TRUE; }
+ void offGetFlag() { mGetFlag = FALSE; }
void saveGetFlag() { field_0x951 = mGetFlag; }
- bool is_getted() { return mGetFlag == true; }
+ bool is_getted() { return mGetFlag == TRUE; }
void reset() {
current.pos = home.pos;