Move stuck code out of main pathing function so we can add logging easily later

This commit is contained in:
KimLS
2017-09-09 14:01:39 -07:00
parent ccdebf0116
commit 9dd4002337
2 changed files with 17 additions and 27 deletions
+1
View File
@@ -1264,6 +1264,7 @@ protected:
void CalculateNewFearpoint();
float FindGroundZ(float new_x, float new_y, float z_offset=0.0);
glm::vec3 UpdatePath(float ToX, float ToY, float ToZ, float Speed, bool &WaypointChange, bool &NodeReached);
glm::vec3 HandleStuckPath(const glm::vec3 &To, const glm::vec3 &From);
virtual float GetSympatheticProcChances(uint16 spell_id, int16 ProcRateMod, int32 ItemProcRate = 0);
int16 GetSympatheticSpellProcRate(uint16 spell_id);