mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
One more NodeLoc compare adjustment
This commit is contained in:
parent
7cda4aaa2c
commit
20b6c2f556
@ -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
|
// May need to refine this as rounding errors may mean we never have equality
|
||||||
// Check if we have reached a path node.
|
// 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());
|
Log(Logs::Detail, Logs::Pathing, " Arrived at node %i, moving to next one.\n", Route.front());
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user