Decompile fn_17664 (WorldSpatialTree::ClearChildren)
Batch #18019 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_17664 WorldSpatialTree::ClearChildren: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
d05b5b753d
commit
86d60636af
1 changed files with 3 additions and 3 deletions
|
|
@ -63,9 +63,9 @@ WorldSpatialTree::~WorldSpatialTree() {
|
|||
// OFFSET: 0x00AC80C0
|
||||
// FUNCTION: fn_17664
|
||||
void WorldSpatialTree::ClearChildren() {
|
||||
for (WorldSpatialTree*& child : this->children) {
|
||||
delete child;
|
||||
child = nullptr;
|
||||
for (int index = 0; index < 4; ++index) {
|
||||
delete this->children[index];
|
||||
this->children[index] = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue