Quantcast

Add a function to indicate if the crazy arrow is empty

James Whitehead II [01-24-11 - 15:58]
Add a function to indicate if the crazy arrow is empty
Filename
TomTom_CrazyArrow.lua
diff --git a/TomTom_CrazyArrow.lua b/TomTom_CrazyArrow.lua
index d72cbf2..c1a46ad 100644
--- a/TomTom_CrazyArrow.lua
+++ b/TomTom_CrazyArrow.lua
@@ -93,6 +93,10 @@ function TomTom:SetCrazyArrow(uid, dist, title)
 	end
 end

+function TomTom:IsCrazyArrowEmpty()
+    return not active_point
+end
+
 local status = wayframe.status
 local tta = wayframe.tta
 local arrow = wayframe.arrow