public
Description: WoW Powerleveling addon
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/tourguide.git
Click here to lend your support to: tourguide and make a donation at www.pledgie.com !
Fix issues with TomTom waypoints
tekkub (author)
Sat Apr 05 23:19:57 -0700 2008
commit  15bcdf2257eec721b8d1400a6f151a2e90569aaf
tree    239ee6b6ac71f0b5231a79da3e41536e5eff940d
parent  590cfb52b7f5c9a6b7d8db913284f5366170124b
...
22
23
24
25
 
26
27
28
...
32
33
34
35
 
36
37
38
 
39
40
41
...
22
23
24
 
25
26
27
28
...
32
33
34
 
35
36
37
 
38
39
40
41
0
@@ -22,7 +22,7 @@ local function MapPoint(zone, x, y, desc)
0
     zone = zonenames[zc][zi]
0
   end
0
 
0
- if TomTom then table.insert(cache, TomTom:AddZWaypoint(zc, zi, x, y, "[TG] "..desc))
0
+ if TomTom then table.insert(cache, TomTom:AddZWaypoint(zc, zi, x, y, "[TG] "..desc, false))
0
   elseif Cartographer_Waypoints then
0
     local pt = NotePoint:new(zone, x/100, y/100, "[TG] "..desc)
0
     Cartographer_Waypoints:AddWaypoint(pt)
0
@@ -32,10 +32,10 @@ end
0
 
0
 
0
 function TourGuide:ParseAndMapCoords(note, desc, zone)
0
- if TomTom and TomTom.ClearWaypoint then
0
+ if TomTom and TomTom.RemoveWaypoint then
0
     local wpid = table.remove(cache)
0
     while wpid do
0
- TomTom:ClearWaypoint(wpid)
0
+ TomTom:RemoveWaypoint(wpid)
0
       wpid = table.remove(cache)
0
     end
0
 

Comments

    No one has commented yet.