summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
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);
}