mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
fix: propagate sellPrice to all rebuildOnlineInventory() inventory paths
Equipment, backpack, and bag-content paths were missing def.sellPrice assignment — only bank/bank-bag paths had it. This caused the "Sell" price in item tooltips to show 0g 0s 0c for equipped and backpack items.
This commit is contained in:
parent
30058a8df5
commit
dce8a4e442
1 changed files with 3 additions and 0 deletions
|
|
@ -10758,6 +10758,7 @@ void GameHandler::rebuildOnlineInventory() {
|
|||
def.agility = infoIt->second.agility;
|
||||
def.intellect = infoIt->second.intellect;
|
||||
def.spirit = infoIt->second.spirit;
|
||||
def.sellPrice = infoIt->second.sellPrice;
|
||||
def.itemLevel = infoIt->second.itemLevel;
|
||||
def.requiredLevel = infoIt->second.requiredLevel;
|
||||
} else {
|
||||
|
|
@ -10800,6 +10801,7 @@ void GameHandler::rebuildOnlineInventory() {
|
|||
def.agility = infoIt->second.agility;
|
||||
def.intellect = infoIt->second.intellect;
|
||||
def.spirit = infoIt->second.spirit;
|
||||
def.sellPrice = infoIt->second.sellPrice;
|
||||
def.itemLevel = infoIt->second.itemLevel;
|
||||
def.requiredLevel = infoIt->second.requiredLevel;
|
||||
} else {
|
||||
|
|
@ -10877,6 +10879,7 @@ void GameHandler::rebuildOnlineInventory() {
|
|||
def.agility = infoIt->second.agility;
|
||||
def.intellect = infoIt->second.intellect;
|
||||
def.spirit = infoIt->second.spirit;
|
||||
def.sellPrice = infoIt->second.sellPrice;
|
||||
def.itemLevel = infoIt->second.itemLevel;
|
||||
def.requiredLevel = infoIt->second.requiredLevel;
|
||||
def.bagSlots = infoIt->second.containerSlots;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue