aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/DynamicTree.h
diff options
context:
space:
mode:
authorJeremy <Golrag@users.noreply.github.com>2018-02-16 20:59:19 +0100
committerjackpoz <giacomopoz@gmail.com>2018-02-16 20:59:19 +0100
commit9e0faace9a5114fc2324c2c601ba943272e0d6ff (patch)
treeee7cb56b687598c96d5e967d8f8857fc5cee8b07 /src/common/Collision/DynamicTree.h
parent8aa10f6c65ba7fc8363a663b305fede95d0ccb58 (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/DynamicTree.h')
-rw-r--r--src/common/Collision/DynamicTree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Collision/DynamicTree.h b/src/common/Collision/DynamicTree.h
index 9b7d5f15e20..aa7a4bb3d2a 100644
--- a/src/common/Collision/DynamicTree.h
+++ b/src/common/Collision/DynamicTree.h
@@ -51,6 +51,7 @@ public:
float pModifyDist) const;
float getHeight(float x, float y, float z, float maxSearchDist, uint32 phasemask) const;
+ float getCeil(float x, float y, float z, float maxSearchDist, uint32 phasemask) const;
void insert(GameObjectModel const&);
void remove(GameObjectModel const&);