diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-04-07 00:25:00 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-04-07 21:36:14 +0200 |
commit | 2dadbda24ac1c2e6ff3dad650c7e25f4b3322342 (patch) | |
tree | 654ad62aaa66d12710a346e27d4ffd236bee4a27 /src/common/Collision/Management/IVMapManager.h | |
parent | 5f897589f9b3d5677dc5d2382fcb7dd35696aaa7 (diff) |
Revert "Core/Entities: Reduce the probability of units dropping under the map (#21322)"
This reverts commit 9e0faace9a5114fc2324c2c601ba943272e0d6ff.
Diffstat (limited to 'src/common/Collision/Management/IVMapManager.h')
-rw-r--r-- | src/common/Collision/Management/IVMapManager.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/Collision/Management/IVMapManager.h b/src/common/Collision/Management/IVMapManager.h index 7fa9ddb12e3..e9aae51a025 100644 --- a/src/common/Collision/Management/IVMapManager.h +++ b/src/common/Collision/Management/IVMapManager.h @@ -49,8 +49,6 @@ namespace VMAP #define VMAP_INVALID_HEIGHT -100000.0f // for check #define VMAP_INVALID_HEIGHT_VALUE -200000.0f // real assigned value in unknown height case - #define VMAP_INVALID_CEIL_VALUE 200000.0f - #define VMAP_INVALID_CEIL 100000.0f struct AreaAndLiquidData { @@ -94,7 +92,6 @@ namespace VMAP virtual bool isInLineOfSight(unsigned int pMapId, float x1, float y1, float z1, float x2, float y2, float z2, ModelIgnoreFlags ignoreFlags) = 0; virtual float getHeight(unsigned int pMapId, float x, float y, float z, float maxSearchDist) = 0; - virtual float getCeil(unsigned int /*pMapId*/, float /*x*/, float /*y*/, float /*z*/, float /*maxSearchDist*/) { return VMAP_INVALID_CEIL_VALUE; } /** test if we hit an object. return true if we hit one. rx, ry, rz will hold the hit position or the dest position, if no intersection was found return a position, that is pReduceDist closer to the origin |