diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-03-28 22:01:22 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-03-28 22:01:22 +0200 |
commit | 42f9deb21ec68e169f7ed1c8cf14092f144b22da (patch) | |
tree | e022243733903be45592138354d1f49342c811a4 /src/common/Collision/DynamicTree.h | |
parent | 95615a4b0d9af431b559bcca68ce9f9f38381397 (diff) |
Core/Maps: Implemented getting area id from gameobject spawns
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel
Diffstat (limited to 'src/common/Collision/DynamicTree.h')
-rw-r--r-- | src/common/Collision/DynamicTree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Collision/DynamicTree.h b/src/common/Collision/DynamicTree.h index 4ae49c00595..f7e7cd28d4e 100644 --- a/src/common/Collision/DynamicTree.h +++ b/src/common/Collision/DynamicTree.h @@ -46,6 +46,7 @@ public: bool getObjectHitPos(G3D::Vector3 const& startPos, G3D::Vector3 const& endPos, G3D::Vector3& resultHitPos, float modifyDist, PhaseShift const& phaseShift) const; float getHeight(float x, float y, float z, float maxSearchDist, PhaseShift const& phaseShift) const; + bool getAreaInfo(float x, float y, float& z, PhaseShift const& phaseShift, uint32& flags, int32& adtId, int32& rootId, int32& groupId) const; void insert(const GameObjectModel&); void remove(const GameObjectModel&); |