mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 12:24:22 +08:00
.
This commit is contained in:
parent
4f1fcb10fd
commit
66c87d231a
@ -1671,8 +1671,8 @@ float Map::GetHeightAccurate(uint32 phasemask, float x, float y, float z, float
|
||||
float Map::GetHeightAccurate(uint32 phasemask, float x, float y, float z, float radius, float yaw,
|
||||
bool vmap/*=true*/, float maxSearchDist /*= DEFAULT_HEIGHT_SEARCH*/) const
|
||||
{
|
||||
const float hMapMix = GetHeightAccurate(x, y, z, radius, yaw, vmap, maxSearchDist);
|
||||
const float hDyn = _dynamicTree.getHeight(x, y, z, maxSearchDist, phasemask);
|
||||
const float hMapMix = GetHeightAccurate(x, y, z, radius, yaw, vmap, maxSearchDist);
|
||||
const float hDyn = _dynamicTree.getHeight(x, y, z, maxSearchDist, phasemask);
|
||||
return std::max<float>(hMapMix, hDyn);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user