Implemented a work around for Blizzard's name conflict for Gilneas and Gilneas City.
Cette révision appartient à :
Parent
7fc1fbf834
révision
4f77bacb62
|
@ -194,7 +194,20 @@ function Astrolabe:GetMapVirtualZones(zone)
|
|||
end
|
||||
end
|
||||
|
||||
return {GetMapZones(zone)}
|
||||
local curMapID = GetCurrentMapAreaID()
|
||||
local zones = {GetMapZones(zone)}
|
||||
|
||||
for k, v in pairs(zones) do
|
||||
SetMapZoom(zone, k)
|
||||
local mapFileName = GetMapInfo()
|
||||
if mapFileName == "RuinsofGilneasCity" then
|
||||
zones[k] = "Gilneas"
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
SetMapByID(curMapID)
|
||||
return zones
|
||||
end
|
||||
|
||||
function Astrolabe:GetMapTexture(c, z)
|
||||
|
|
|
@ -54,7 +54,7 @@ QuestHelper_Zones =
|
|||
[18]="Northern Stranglethorn",
|
||||
[19]="Redridge Mountains",
|
||||
[20]="Ruins of Gilneas",
|
||||
[21]="Ruins of Gilneas City",
|
||||
[21]="Gilneas", -- Actually "Ruins of Gilneas City", but this fixes issues with some non-English clients that have the two zones named the same.
|
||||
[22]="Searing Gorge",
|
||||
[23]="Shimmering Expanse",
|
||||
[24]="Silvermoon City",
|
||||
|
|
Référencer dans un nouveau ticket