summaryrefslogtreecommitdiff
path: root/src/d/d_throwstone.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-02-01 16:17:46 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-02-01 16:17:46 -0500
commit025b7e459abad49def5fb68717be6905aaab818d (patch)
tree16a8a111c887666ae6fd7125974c2df65045bd23 /src/d/d_throwstone.cpp
parent39aace2c919fae101c464e9164d6ed5c274a6cc8 (diff)
Switch return type of _execute/_draw/_delete to be `bool` by default instead of `BOOL`
It's not completely consistent, but it seems like the majority used `bool`, and only a handful used `BOOL`. So I switched all of them to `bool` except for 13 TUs that stopped matching when changed like this.
Diffstat (limited to 'src/d/d_throwstone.cpp')
-rw-r--r--src/d/d_throwstone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_throwstone.cpp b/src/d/d_throwstone.cpp
index bd4b9796..76cf68e9 100644
--- a/src/d/d_throwstone.cpp
+++ b/src/d/d_throwstone.cpp
@@ -58,7 +58,7 @@ static s32 daThrowstoneCreate(void* ptr) {
return ((daThrowstone_c*)ptr)->_create();
}
-BOOL daThrowstone_c::_delete() {
+bool daThrowstone_c::_delete() {
dComIfG_resDelete(&mPhs, M_arcname);
return TRUE;
}
@@ -68,7 +68,7 @@ static BOOL daThrowstoneDelete(void* ptr) {
return ((daThrowstone_c*)ptr)->_delete();
}
-BOOL daThrowstone_c::_execute() {
+bool daThrowstone_c::_execute() {
dDemo_setDemoData(this, 0x6a, NULL, NULL, 0, NULL, 0, 0);
mpModel->setBaseScale(scale);