Reputation acquisitions need waypoint types set too...
James D. Callahan III [07-07-10 - 09:02]
Reputation acquisitions need waypoint types set too...
diff --git a/Waypoint.lua b/Waypoint.lua
index b187c48..9b84c6d 100644
--- a/Waypoint.lua
+++ b/Waypoint.lua
@@ -408,6 +408,7 @@ function addon:AddWaypoint(recipe_id, acquire_id, location_id, npc_id)
local waypoint = GetWaypoint(acquire_type, vendor_id, recipe)
if waypoint and (not location_id or waypoint.location == location_id) then
+ waypoint.waypoint_type = acquire_type
maplist[waypoint] = recipe_id
end
end
@@ -448,6 +449,7 @@ function addon:AddWaypoint(recipe_id, acquire_id, location_id, npc_id)
local waypoint = GetWaypoint(acquire_type, vendor_id, recipe)
if waypoint then
+ waypoint.waypoint_type = acquire_type
maplist[waypoint] = sorted_recipes[i]
end
end