1
0
Bifurcation 0

Implemented a work around for Blizzard's name conflict for Gilneas and Gilneas City.

Cette révision appartient à :
Nathanial.C.Jones 2010-12-04 12:46:56 +00:00
Parent 7fc1fbf834
révision 4f77bacb62
2 fichiers modifiés avec 15 ajouts et 2 suppressions

Voir le fichier

@ -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)

Voir le fichier

@ -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",