mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 07:21:48 +00:00
Fix fleeing when zones have map files
This commit is contained in:
parent
a9b98ed057
commit
03bc245318
@ -665,6 +665,9 @@ glm::vec3 Mob::UpdatePath(float ToX, float ToY, float ToZ, float Speed, bool &Wa
|
|||||||
|
|
||||||
bool SameDestination = (To == PathingDestination);
|
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;
|
int NextNode;
|
||||||
|
|
||||||
if(To == From)
|
if(To == From)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user