mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-21 07:08:26 +00:00
Minor tweak to autoporting code
This commit is contained in:
@@ -309,10 +309,6 @@ PathfindingRoute::~PathfindingRoute()
|
||||
|
||||
bool PathfindingRoute::DestinationValid(const glm::vec3 &dest)
|
||||
{
|
||||
if (m_current_node >= 255) {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto dist = vec_dist(dest, m_dest);
|
||||
if (dist <= max_dest_drift) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user