WoWInterface SVN zz_Coords

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 80 to Rev 81
    Reverse comparison

Rev 80 → Rev 81

trunk/zz_Coords/provider.lua
62,9 → 62,13
str = format("%s Mouse: %.1f / %.1f",str,x,y)
end
if(mapID) then
local x,y = C_Map.GetPlayerMapPosition(mapID,"player"):GetXY()
if(x and y) then
str = format("%s Player: %.1f / %.1f",str,x * 100,y * 100)
local pmp = C_Map.GetPlayerMapPosition(mapID,"player")
if(pmp) then
local x,y = pmp:GetXY()
if(x and y) then
str = format("%s Player: %.1f / %.1f",str,x * 100,y * 100)
end
pmp = nil
end
end
coordText:SetText(str)