mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/Collision): typo in VMap BIH generation. (#7066)
* Core/Collision: Fix typo in VMap BIH generation. Fixed #5768. * Bump vmap and mmap versions. * chore: update data version in the bash installer
This commit is contained in:
@@ -148,6 +148,7 @@ void BIH::subdivide(int left, int right, std::vector<uint32>& tempTree, buildDat
|
||||
else if (left > right)
|
||||
{
|
||||
// all right
|
||||
right = rightOrig;
|
||||
if (prevAxis == axis && G3D::fuzzyEq(prevSplit, split))
|
||||
{
|
||||
// we are stuck here - create a leaf
|
||||
@@ -155,7 +156,6 @@ void BIH::subdivide(int left, int right, std::vector<uint32>& tempTree, buildDat
|
||||
createNode(tempTree, nodeIndex, left, right);
|
||||
return;
|
||||
}
|
||||
right = rightOrig;
|
||||
if (clipR >= split)
|
||||
{
|
||||
// keep looping on right half
|
||||
|
||||
Reference in New Issue
Block a user