Core/vmaps: Reset BIH::bounds on tree rebuilds
Port From (https://github.com/TrinityCore/TrinityCore/commit/18200e1b88596dbead10d0b8ecbd10557db43323)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user