summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:17:48 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:17:48 -0400
commitbd6b72e3a134313d87979212d559003269cbf402 (patch)
treeabf85338783cc880e3673e2e43c3651733bf3e60 /src/pso
parent21778cb0c7a64e0712bbfcadb5993965f70d4b49 (diff)
TObject: Rename `set_flag_0()` -> `queue_destruction()`
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TObject.cpp2
-rw-r--r--src/pso/TObject2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index f8a643d..e76b0e3 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -149,7 +149,7 @@ void TObject::run_tasks() {
void TObject::set_flag_0_for_each_node() {
FOREACH_NODE(TObject, this->down, child) {
- child->set_flag_0();
+ child->queue_destruction();
child->set_flag_0_for_each_node();
}
}
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index ede8c53..4549d94 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -12,7 +12,7 @@ u32 TObject::get_flag_9() {
return get_flags(BIT_9);
}
-void TObject::set_flag_0() {
+void TObject::queue_destruction() {
set_flags(QUEUE_DESTRUCTION);
}