Core: use enum InventoryResult as return type for functions working with player items.
Original patch by TOM_RUS.
This commit is contained in:
1 parent
e1647aaa29
commit
6fb2bf4224
22 files changed
+164
-191
No files matched your search
@@ -1299,7 +1299,7 @@ public:
|
||||
uint32 ItemID = atoi(pItemID);
|
||||
uint32 SlotID = atoi(pSlotID);
|
||||
|
||||
ItemPrototype* tmpItem = sObjectMgr->GetItemTemplate(ItemID);
|
||||
ItemTemplate* tmpItem = sObjectMgr->GetItemTemplate(ItemID);
|
||||
|
||||
bool added = false;
|
||||
if (tmpItem)
|
||||
|
||||
Reference in new issue
Block a user