From 20b6c2f556b4ff9c8c3b311f921ca7e989d1c6cd Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 18 Jul 2017 19:16:41 -0500 Subject: [PATCH] One more NodeLoc compare adjustment --- zone/pathing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/pathing.cpp b/zone/pathing.cpp index 5fe4a7e57..0bc054d58 100644 --- a/zone/pathing.cpp +++ b/zone/pathing.cpp @@ -951,7 +951,7 @@ glm::vec3 Mob::UpdatePath(float ToX, float ToY, float ToZ, float Speed, bool &Wa // May need to refine this as rounding errors may mean we never have equality // Check if we have reached a path node. - if(NodeLoc == From) + if(NodeLoc.x == From.x && NodeLoc.y == From.y) { Log(Logs::Detail, Logs::Pathing, " Arrived at node %i, moving to next one.\n", Route.front());