Pull out forced movement from push to it's own function

Had to pull this out so we could process it before mez/stun
This commit is contained in:
Michael Cook (mackal)
2018-03-08 19:42:40 -05:00
parent 5c87b8152d
commit 876335bb54
3 changed files with 17 additions and 8 deletions
+1
View File
@@ -581,6 +581,7 @@ public:
inline void Teleport(glm::vec3 NewPosition) { m_Position.x = NewPosition.x; m_Position.y = NewPosition.y;
m_Position.z = NewPosition.z; };
void TryMoveAlong(float distance, float angle, bool send = true);
void ProcessForcedMovement();
//AI
static uint32 GetLevelCon(uint8 mylevel, uint8 iOtherLevel);