Quantcast

Add a readme

James Whitehead II [12-04-10 - 15:47]
Add a readme
Filename
TomTomLite.lua
images/BevArrow.tga
readme.md
diff --git a/TomTomLite.lua b/TomTomLite.lua
index 7b6b7ee..6f3026e 100644
--- a/TomTomLite.lua
+++ b/TomTomLite.lua
@@ -79,7 +79,7 @@ function addon:CreateCrazyArrow(name, parent)
     frame:SetSize(128, 128)
     frame.arrow = frame:CreateTexture("OVERLAY")
     frame.arrow:SetAllPoints()
-    frame.arrow:SetTexture("Interface\\Addons\\TomTomLite\\images\\arrow-grey")
+    frame.arrow:SetTexture("Interface\\Addons\\TomTomLite\\images\\BevArrow")

     frame.title = frame:CreateFontString("OVERLAY", name .. "Title", "GameFontHighlight")
     frame.info = frame:CreateFontString("OVERLAY", name .. "Info", "GameFontHighlight")
@@ -104,6 +104,12 @@ function addon:CreateCrazyArrow(name, parent)
             return
         end

+        -- If on the cosmic map, do nothing
+        if cmap == -1 then
+            return
+        end
+
+
         local distance, xd, yd = addon.mapdata:DistanceWithinContinent(cmap, 0, cx, cy, map, floor, x, y)

         local angle = math.atan2(xd, yd)
diff --git a/images/BevArrow.tga b/images/BevArrow.tga
new file mode 100644
index 0000000..03ab2d1
Binary files /dev/null and b/images/BevArrow.tga differ
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..8472363
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,6 @@
+# TomTomLite
+
+This is an addon for World of Warcraft, more information can be found on the
+webpage listed above. All code and materials included in this addon are "All
+rights reserved", it is posted on Github purely for an additional distribution
+site.