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:
ragnarok-clanker 2026-11-12 07:19:01 +00:00
commit 86d60636af

View file

@ -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;
}
}