Reset BIH::bounds on tree rebuilds

https: //github.com/TrinityCore/TrinityCore/commit/18200e1b88596dbead10d0b8ecbd10557db43323
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Grimdhex <237474256+Grimdhex@users.noreply.github.com>
This commit is contained in:
天鹭 2025-10-15 01:33:59 +08:00
parent be57851191
commit 30777af88a

View File

@ -70,6 +70,7 @@ private:
{
tree.clear();
objects.clear();
bounds = G3D::AABox::empty();
// create space for the first node
tree.push_back(3u << 30u); // dummy leaf
tree.insert(tree.end(), 2, 0);