WoWInterface SVN zz_Coords

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 72 to Rev 73
    Reverse comparison

Rev 72 → Rev 73

trunk/zz_Coords/provider.lua
37,9 → 37,11
if(not(x == 100 or y==100 or x==0 or y==0)) then
str = format("%s Mouse: %.1f / %.1f",str,x,y)
end
local pinfo = C_Map.GetPlayerMapPosition(mapID,"player")
if(pinfo and pinfo.x and pinfo.y) then
str = format("%s Player: %.1f / %.1f",str,pinfo.x * 100,pinfo.y * 100)
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)
end
end
coordText:SetText(str)
if(not db['hideMapCoords']) then