mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/vmaps: Reset BIH::bounds on tree rebuilds
This commit is contained in:
@@ -69,6 +69,7 @@ class TC_COMMON_API BIH
|
||||
{
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user