mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Movement: Fix WaypointMgr::GetNode infinite recursion (function isn't used anywhere currently)
This commit is contained in:
@@ -308,7 +308,7 @@ WaypointNode const* WaypointMgr::GetNode(uint32 pathId, uint32 nodeId) const
|
||||
if (!path)
|
||||
return nullptr;
|
||||
|
||||
return GetNode(path->Id, nodeId);
|
||||
return GetNode(path, nodeId);
|
||||
}
|
||||
|
||||
WaypointPath const* WaypointMgr::GetPathByVisualGUID(ObjectGuid guid) const
|
||||
|
||||
Reference in New Issue
Block a user