Mercurial > wow > askmrrobot
comparison Gear.lua @ 67:932885bb1a6f v26
bug fix to gear swapping, fixed font issue with asian regions
author | yellowfive |
---|---|
date | Mon, 29 Jun 2015 17:05:47 -0700 |
parents | cf2b6b9a8337 |
children | 69db1c3025ac |
comparison
equal
deleted
inserted
replaced
66:d6e0fd0ce57f | 67:932885bb1a6f |
---|---|
530 for bagId = 1, NUM_BAG_SLOTS do | 530 for bagId = 1, NUM_BAG_SLOTS do |
531 bestItem, bestDiff, bestLink = scanBagForItem(item, bagId, bestItem, bestDiff, bestLink) | 531 bestItem, bestDiff, bestLink = scanBagForItem(item, bagId, bestItem, bestDiff, bestLink) |
532 end | 532 end |
533 | 533 |
534 -- bank | 534 -- bank |
535 bestItem, bestDiff = scanBagForItem(item, BANK_CONTAINER, bestItem, bestDiff, bestLink) | 535 bestItem, bestDiff, bestLink = scanBagForItem(item, BANK_CONTAINER, bestItem, bestDiff, bestLink) |
536 for bagId = NUM_BAG_SLOTS + 1, NUM_BAG_SLOTS + NUM_BANKBAGSLOTS do | 536 for bagId = NUM_BAG_SLOTS + 1, NUM_BAG_SLOTS + NUM_BANKBAGSLOTS do |
537 bestItem, bestDiff = scanBagForItem(item, bagId, bestItem, bestDiff, bestLink) | 537 bestItem, bestDiff, bestLink = scanBagForItem(item, bagId, bestItem, bestDiff, bestLink) |
538 end | 538 end |
539 | 539 |
540 ClearCursor() | 540 ClearCursor() |
541 | 541 |
542 if not bestItem then | 542 if not bestItem then |