Core/Movement: Fix WaypointMgr::GetNode infinite recursion (function isn't used anywhere currently)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e27c42a2fe5e88e33cb8adede9a50b2785a5d65)
This commit is contained in:
@@ -276,7 +276,7 @@ namespace Game
|
|||||||
if (path == null)
|
if (path == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
return GetNode(path.Id, nodeId);
|
return GetNode(path, nodeId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public WaypointPath GetPathByVisualGUID(ObjectGuid guid)
|
public WaypointPath GetPathByVisualGUID(ObjectGuid guid)
|
||||||
|
|||||||
Reference in New Issue
Block a user