Quantcast

* Fix for minimap/world textures

James Whitehead Ii [01-25-08 - 19:51]
* Fix for minimap/world textures
Filename
Images/GoldGreenDot.tga
TomTom_Waypoints.lua
diff --git a/Images/GoldGreenDot.tga b/Images/GoldGreenDot.tga
new file mode 100644
index 0000000..4b5a47f
Binary files /dev/null and b/Images/GoldGreenDot.tga differ
diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua
index 9f436e5..bc80810 100644
--- a/TomTom_Waypoints.lua
+++ b/TomTom_Waypoints.lua
@@ -56,8 +56,7 @@ function TomTom:SetWaypoint(c,z,x,y,far,near,arrive,callback)

 		-- Create the actual texture attached for the minimap icon
 		point.minimap.icon = point.minimap:CreateTexture("BACKGROUND")
-		point.minimap.icon:SetTexture("Interface\\Minimap\\ObjectIcons")
-		point.minimap.icon:SetTexCoord(0.5, 0.75, 0, 0.25)
+		point.minimap.icon:SetTexture("Interface\\AddOns\\TomTom\\Images\\GoldGreenDot")
 		point.minimap.icon:SetPoint("CENTER", 0, 0)
 		point.minimap.icon:SetHeight(12)
 		point.minimap.icon:SetWidth(12)
@@ -77,8 +76,7 @@ function TomTom:SetWaypoint(c,z,x,y,far,near,arrive,callback)
 		point.world:RegisterForClicks("RightButtonUp")
 		point.world.icon = point.world:CreateTexture()
 		point.world.icon:SetAllPoints()
- 		point.world.icon:SetTexture("Interface\\Minimap\\ObjectIcons")
-		point.world.icon:SetTexCoord(0.5, 0.75, 0, 0.25)
+ 		point.world.icon:SetTexture("Interface\\AddOns\\TomTom\\Images\\MinimapArrow-Green")

 		-- Add the behavior scripts
 		point.minimap:SetScript("OnEnter", Minimap_OnEnter)