diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-08 13:31:54 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-08 13:31:54 -0400 |
commit | 1ae14453aab790a9614eaaff17647269fe6877f4 (patch) | |
tree | abf179fed69eed5c030056305f51dbdcf4ccd68f | |
parent | e5a312950f959a0c9743e159a4dadc2cd2c2aee3 (diff) |
TObject: Rename `set_flag_0_for_each_node()` ->
`queue_destruction_for_each_node()`
-rw-r--r-- | include/pso/TObject.h | 2 | ||||
-rw-r--r-- | src/pso/TObject.cpp | 4 |
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(); } } |