WoWInterface SVN InFlight

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches
    from Rev 139 to Rev 140
    Reverse comparison

Rev 139 → Rev 140

Classic/InFlight/InFlight.lua
263,6 → 263,22
return
end
 
-- Attempt to get source flight point if another addon auto-takes the taxi
-- which can cause this function to run before the TAXIMAP_OPENED function
if not taxiSrc then
for i = 1, NumTaxiNodes(), 1 do
if TaxiNodeGetType(i) == "CURRENT" then
taxiSrc = ShortenName(TaxiNodeName(i))
break
end
end
 
if not taxiSrc then
oldTakeTaxiNode(slot)
return
end
end
 
taxiDst = ShortenName(TaxiNodeName(slot))
local t = vars[taxiSrc]
if t and t[taxiDst] and t[taxiDst] > 0 then -- saved variables lookup
482,6 → 498,8
end
end
 
taxiSrc = nil
taxiDst = nil
endTime = nil
endText = FormatTime(endTime)
sb:Hide()