1) In some situations, a full refresh ("dinv refresh all") was required to pick

up changes after enchanting an item.  That is no longer the case and a fast
   basic refresh will now detect enchantment changes.
master
Durel 7 years ago
parent 44e998a858
commit 3f56ce7753

@ -9810,6 +9810,7 @@ function inv.items.trigger.itemDataStats(objId, flags, itemName, level, typeFiel
-- possibly changed so that we can re-identify it to see what changed -- possibly changed so that we can re-identify it to see what changed
if (isInvItem == true) then if (isInvItem == true) then
if (item ~= nil) then if (item ~= nil) then
inv.items.mainState = invItemsRefreshDirty -- we want to rescan main inventory now
retval = inv.items.setField(objId, invFieldIdentifyLevel, invIdLevelNone) retval = inv.items.setField(objId, invFieldIdentifyLevel, invIdLevelNone)
else else
-- Check if the item is in the frequent item cache. If it is, there's no need to identify it :) -- Check if the item is in the frequent item cache. If it is, there's no need to identify it :)

Loading…
Cancel
Save