Core: use enum InventoryResult as return type for functions working with player items.

Original patch by TOM_RUS.
This commit is contained in:
Azazel committed 2011-04-29 16:48:15 +06:00
1 parent e1647aaa29
commit 6fb2bf4224
22 files changed
+164 -191

No files matched your search

+1 -1
View File
@@ -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)