mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 20:34:53 +08:00
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:
parent
be57851191
commit
30777af88a
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user