Skip to content

Commit

Permalink
Improved support of Arathi Blizzard
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Aug 11, 2018
1 parent d1398b6 commit 906d2e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions REPorter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ RE.BlinkPOIValue = 0.3
RE.BlinkPOIUp = true

RE.FoundNewVersion = false
RE.AddonVersionCheck = 215
RE.AddonVersionCheck = 216
RE.ScreenHeight, RE.ScreenWidth = _G.UIParent:GetCenter()

RE.MapSettings = {
Expand Down Expand Up @@ -1714,7 +1714,14 @@ function RE:LoadMapSettings()
_G.REPorterFrameCoreAnchor:SetPoint("CENTER", _G.REPorterFrameClip, "CENTER", mx, my)
_G.REPorterFrame:SetAlpha(RE.Settings.profile.Opacity)

local textures = GetMapArtLayerTextures(RE.CurrentMap, 1)
local textures
if RE.CurrentMap == AB and RE.IsBrawl then
textures = GetMapArtLayerTextures(ABW, 1)
RE.ZonesWithoutSubZones[AB] = true
else
textures = GetMapArtLayerTextures(RE.CurrentMap, 1)
RE.ZonesWithoutSubZones[AB] = nil
end
for i=1, #textures do
_G["REPorterFrameCoreMap"..i]:SetTexture(textures[i])
end
Expand Down
2 changes: 1 addition & 1 deletion REPorter.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80000
## Title: |cFF74D06CRE|rPorter
## Notes: Provide battleground map.
## Version: 2.1.5
## Version: 2.1.6
## Author: AcidWeb
## SavedVariables: REPorterSettings
## X-Website: https://www.curseforge.com/wow/addons/reporter-battleground-map
Expand Down

0 comments on commit 906d2e3

Please sign in to comment.