summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/TObject.h2
-rw-r--r--src/pso/TObject.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h
index 9e3ad97..2671c90 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -70,7 +70,7 @@ public:
void operator delete(void *ptr) { free(ptr); };
void delete_children();
- void set_flag_0_for_each_node();
+ void queue_destruction_for_each_node();
void run_tasks();
void render_nodes();
void render_shadows_for_each_node();
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index 8250018..d6cfcb0 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -147,10 +147,10 @@ void TObject::run_tasks() {
}
}
-void TObject::set_flag_0_for_each_node() {
+void TObject::queue_destruction_for_each_node() {
FOREACH_NODE(TObject, this->down, child) {
child->queue_destruction();
- child->set_flag_0_for_each_node();
+ child->queue_destruction_for_each_node();
}
}