Possible fix to the subzone
p3lim-52096 [11-09-08 - 18:27]
Possible fix to the subzone
git-svn-id: svn://svn.wowinterface.com/pMinimap-54/trunk@58 ae24c21f-2f0c-4c94-9256-0092abe71e0d
diff --git a/pMinimap/pMinimap.lua b/pMinimap/pMinimap.lua
index dc12ecb..bf855b7 100644
--- a/pMinimap/pMinimap.lua
+++ b/pMinimap/pMinimap.lua
@@ -23,7 +23,8 @@ function pMinimap:ADDON_LOADED(event)
Minimap:SetScript('OnEnter', function(self)
if(pMinimapDB2.subzone) then
GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMLEFT')
- local typ, sub, name, o1, o2 = GetZonePVPInfo(), GameTooltip.IsOwned, GameTooltip.SetOwner
+ local o1, o2 = GameTooltip.IsOwned, GameTooltip.SetOwner
+ local typ, sub, name = GetZonePVPInfo()
GameTooltip.IsOwned, GameTooltip.SetOwner = function() return true end, function() end
Minimap_SetTooltip(typ, name)
GameTooltip.IsOwned, GameTooltip.SetOwner = o1, o2
@@ -43,10 +44,10 @@ function pMinimap:ADDON_LOADED(event)
end)
MiniMapTrackingBackground:Hide()
- MiniMapTrackingButtonBorder:SetTexture('')
MiniMapTrackingButton:SetHighlightTexture('')
- MiniMapTrackingIconOverlay:SetTexture('')
+ MiniMapTrackingButtonBorder:SetTexture('')
MiniMapTrackingIcon:SetTexCoord(0.065, 0.935, 0.065, 0.935)
+ MiniMapTrackingIconOverlay:SetTexture('')
MiniMapTracking:SetParent(Minimap)
MiniMapTracking:ClearAllPoints()
MiniMapTracking:SetPoint('TOPLEFT', -2, 2)