Core/Misc: Small code style change (very small)
This commit is contained in:
@@ -9996,7 +9996,7 @@ Item* Player::GetItemByGuid(uint64 guid) const
|
||||
if (pItem->GetGUID() == guid)
|
||||
return pItem;
|
||||
|
||||
for(int i = BANK_SLOT_ITEM_START; i < BANK_SLOT_ITEM_END; ++i)
|
||||
for (int i = BANK_SLOT_ITEM_START; i < BANK_SLOT_ITEM_END; ++i)
|
||||
if (Item *pItem = GetItemByPos(INVENTORY_SLOT_BAG_0, i))
|
||||
if (pItem->GetGUID() == guid)
|
||||
return pItem;
|
||||
|
||||
Reference in New Issue
Block a user