1
0
Bifurcation 0

This should deal with issue 461.

Cette révision appartient à :
Nathanial.C.Jones 2011-07-07 13:06:01 +00:00
Parent 77bd80119c
révision 5678cc7385
1 fichiers modifiés avec 4 ajouts et 3 suppressions

Voir le fichier

@ -45,11 +45,12 @@ local function MerchantShow()
dstr.avail = avail
dstr.price = price
--if debug_output then QuestHelper:TextOut(dstr) end
if not targ["shop"][itemid] then
targ["shop"][itemid] = dstr
if not targ.shop then targ.shop = {} end
if not targ.shop[itemid] then
targ.shop[itemid] = dstr
end
targ["shop"][itemid].count = (targ["shop"][itemid].count or 0) + 1
targ.shop[itemid].count = (targ.shop[itemid].count or 0) + 1
end
end