diff options
-rw-r--r-- | include/pso/TObject.h | 2 | ||||
-rw-r--r-- | src/pso/TObject.cpp | 2 | ||||
-rw-r--r-- | src/pso/TObject2.cpp | 2 |
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); } |