summaryrefslogtreecommitdiff
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
parent21778cb0c7a64e0712bbfcadb5993965f70d4b49 (diff)
TObject: Rename `set_flag_0()` -> `queue_destruction()`
-rw-r--r--include/pso/TObject.h2
-rw-r--r--src/pso/TObject.cpp2
-rw-r--r--src/pso/TObject2.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h
index 0ea2ec4..ce00a97 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -58,7 +58,7 @@ public:
void clear_flag_4();
void set_flag_3();
void clear_flag_3();
- void set_flag_0();
+ void queue_destruction();
void set_flag_9();
u32 get_flag_9();
void clear_flag_9();
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);
}