1
0
Bifurcation 0

Fixed issue reported at Curse in comments. Added in some functionality.

Cette révision appartient à :
Nathanial.C.Jones 2012-09-26 15:44:24 +00:00
Parent f2c47d0f97
révision bf1a04a431
1 fichiers modifiés avec 8 ajouts et 1 suppressions

Voir le fichier

@ -13,7 +13,8 @@ local GetLoc
local Merger
local function DoZoneUpdate(label, debugverbose)
local zname = string.format("%s@@%s@@%s", GetZoneText(), GetRealZoneText(), GetSubZoneText()) -- I don't *think* any zones will have a @@ in them :D
local zt, rzt, szt, mzt = GetZoneText() or "", GetRealZoneText() or "", GetSubZoneText() or "", GetMinimapZoneText() or ""
local zname = string.format("%s@@%s@@%s@@%s", zt, rzt, szt, mzt) -- I don't *think* any zones will have a @@ in them :D
if zname == "@@@@" then return end -- denied
if not QHCZ[zname] then QHCZ[zname] = {} end
if not QHCZ[zname][label] then QHCZ[zname][label] = {} end
@ -29,6 +30,12 @@ local function DoZoneUpdate(label, debugverbose)
if loc.delayed == 128 and loc.c == 0 and loc.z == 0 and loc.x == -128 and loc.y == -128 then return end
--if loc == "€\000\000\000€\000\000\000€€€" then return end -- this is kind of the "null value"
local found = false
if not znl.locs then
znl.locs = {}
end
table.insert(znl.locs, loc)
-- Commented out, 'cause this module isn't really loaded anymore. I'll remove it after the next commit.
--Merger.Add(znl, loc, true)