Fix fleeing when zones have map files

This commit is contained in:
Michael Cook (mackal) 2015-06-05 21:30:35 -04:00
parent a9b98ed057
commit 03bc245318

View File

@ -665,6 +665,9 @@ glm::vec3 Mob::UpdatePath(float ToX, float ToY, float ToZ, float Speed, bool &Wa
bool SameDestination = (To == PathingDestination);
if (Speed <= 0) // our speed is 0, we cant move so lets return the dest
return To; // this will also avoid the teleports cleanly
int NextNode;
if(To == From)