Skip to content

Commit

Permalink
Fix Blanckaert's Sri-La Village flight path problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovicus authored and Ludovicus committed Oct 19, 2016
1 parent da311b4 commit e81325e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WoWPro/WoWPro_Events.lua
Expand Up @@ -27,7 +27,7 @@ function WoWPro.TakeTaxi_OldStyle(index,destination)
local nomen = TaxiNodeName(i)
local location,zone = string.split(",",nomen)
-- We do a loose match and ignore Blizzards faction suffixes
if strfind(location, destination) then
if strfind(location, destination,1,true) then
WoWPro:Print("Taking flight to: [%s]",location)
if IsMounted() then
Dismount()
Expand All @@ -46,7 +46,7 @@ function WoWPro.TakeTaxi_NewStyle(index,destination)
for i, taxiNodeData in ipairs(taxiNodes) do
-- nodeID=1613, slotIndex=1, type=3, x=0.34, y=0.53, name="Azurewing Repose, Azuna"
local location,zone = string.split(",", taxiNodeData.name)
if strfind(location, destination) then
if strfind(location, destination,1,true) then
WoWPro:Print("Taking flight to: [%s]",location)
if IsMounted() then
Dismount()
Expand Down

0 comments on commit e81325e

Please sign in to comment.