diff options
| author | Jeremy <Golrag@users.noreply.github.com> | 2018-02-16 20:59:19 +0100 |
|---|---|---|
| committer | jackpoz <giacomopoz@gmail.com> | 2018-02-16 20:59:19 +0100 |
| commit | 9e0faace9a5114fc2324c2c601ba943272e0d6ff (patch) | |
| tree | ee7cb56b687598c96d5e967d8f8857fc5cee8b07 /src/common/Collision/Maps/MapTree.h | |
| parent | 8aa10f6c65ba7fc8363a663b305fede95d0ccb58 (diff) | |
Core/Entities: Reduce the probability of units dropping under the map (#21322)
Reduce the probabilty of going under the map
Diffstat (limited to 'src/common/Collision/Maps/MapTree.h')
| -rw-r--r-- | src/common/Collision/Maps/MapTree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Collision/Maps/MapTree.h b/src/common/Collision/Maps/MapTree.h index 48470bf0261..186f1120915 100644 --- a/src/common/Collision/Maps/MapTree.h +++ b/src/common/Collision/Maps/MapTree.h @@ -75,6 +75,7 @@ namespace VMAP bool isInLineOfSight(const G3D::Vector3& pos1, const G3D::Vector3& pos2, ModelIgnoreFlags ignoreFlags) const; bool getObjectHitPos(const G3D::Vector3& pos1, const G3D::Vector3& pos2, G3D::Vector3& pResultHitPos, float pModifyDist) const; float getHeight(const G3D::Vector3& pPos, float maxSearchDist) const; + float getCeil(const G3D::Vector3& pPos, float maxSearchDist) const; bool getAreaInfo(G3D::Vector3 &pos, uint32 &flags, int32 &adtId, int32 &rootId, int32 &groupId) const; bool GetLocationInfo(const G3D::Vector3 &pos, LocationInfo &info) const; |
