Core/vmaps: Reset BIH::bounds on tree rebuilds

Port From (https://github.com/TrinityCore/TrinityCore/commit/18200e1b88596dbead10d0b8ecbd10557db43323)
This commit is contained in:
hondacrx
2024-03-14 11:06:18 -04:00
parent 00f2e84fe6
commit 26fe8a45b5
@@ -21,6 +21,7 @@ namespace Game.Collision
{
tree= new uint[3];
objects = Array.Empty<uint>();
bounds = AxisAlignedBox.Zero();
// create space for the first node
tree[0] = (3u << 30); // dummy leaf
}