mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 11:48:37 +00:00
Support for v3 path files, removed the movement log stuff, fix for a crash or two
This commit is contained in:
+6
-1
@@ -26,7 +26,12 @@ glm::vec3 Mob::UpdatePath(float ToX, float ToY, float ToZ, float Speed, bool &Wa
|
||||
PathingDestination = To;
|
||||
WaypointChanged = true;
|
||||
NodeReached = false;
|
||||
return (*Route.begin()).pos;
|
||||
if (Route.empty()) {
|
||||
return From;
|
||||
}
|
||||
else {
|
||||
return (*Route.begin()).pos;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (PathRecalcTimer->Check()) {
|
||||
|
||||
Reference in New Issue
Block a user