Skip to content

Commit

Permalink
Merge pull request #176 from Kaboca/routes
Browse files Browse the repository at this point in the history
SetCustomWaypoint parameters chaged to emulate current TomTom version
  • Loading branch information
IrcDirk committed Aug 3, 2020
2 parents 195bc49 + cf96049 commit c29dd89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NxMap.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
-- NxMap - Map code
-- Copyright 2007-2012 Carbon Based Creations, LLC
---------------------------------------------------------------------------------------
Expand Down Expand Up @@ -10313,9 +10313,9 @@ end
--------
-- Used for id = TomTom:SetCustomWaypoint (c, z, x, y, callback, minimap, world, silent)

function Nx:TTSetCustomWaypoint (cont, zone, zx, zy, callbackT)

return Nx:TTAddZWaypoint (cont, zone, zx, zy, "", false, nil, nil, callbackT)
function Nx:TTSetCustomWaypoint (cont, zx, zy, opt)
-- Modified for Routes compatibility
return Nx:TTSetCustomMFWaypoint(cont, nil, zx, zy, opt)
end

--------
Expand Down

0 comments on commit c29dd89

Please sign in to comment.