Changed the return type of Corpse::MoveItemToCorpse() to void and added a 'by address' parameter to replace it -- Fixed a bug that would 'unattune' soulbound items inside of bags

This commit is contained in:
Uleat
2015-01-26 19:44:33 -05:00
parent 58b5f6b88f
commit 89f8006f11
3 changed files with 58 additions and 69 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class Corpse : public Mob {
virtual void UpdateEquipLightValue();
protected:
std::list<uint32> MoveItemToCorpse(Client *client, ItemInst *item, int16 equipslot);
void MoveItemToCorpse(Client *client, ItemInst *inst, int16 equipSlot, std::list<uint32> &removedList);
private:
bool is_player_corpse; /* Determines if Player Corpse or not */