Fixed a reference to a non-existent variable for folks who use Cartographer_Waypoints (do they still exist?).
James D. Callahan III [03-04-11 - 07:14]
Fixed a reference to a non-existent variable for folks who use Cartographer_Waypoints (do they still exist?).
diff --git a/Waypoint.lua b/Waypoint.lua
index c8ec3b3..73b7f0c 100644
--- a/Waypoint.lua
+++ b/Waypoint.lua
@@ -529,7 +529,7 @@ function addon:AddWaypoint(recipe_id, acquire_id, location_id, npc_id)
_G.TomTom:ChangeWaypointIcon(uid, minimap, worldmap, icon_tex)
end
elseif _G.Cartographer_Waypoints then
- local pt = _G.NotePoint:new(zone, x/100, y/100, desc)
+ local pt = _G.NotePoint:new(zone, x/100, y/100, name)
_G.Cartographer_Waypoints:AddWaypoint(pt)
table.insert(iconlist, pt.WaypointID)
end