From 31158ed03d7a69f15006f8e6a29d71a88a5cd239 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 4 Jan 2015 06:50:11 -0600 Subject: [PATCH] Post merge fix --- common/shareddb.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index e9a552165..7c2116ad7 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -430,8 +430,11 @@ bool SharedDatabase::GetSharedBank(uint32 id, Inventory* inv, bool is_charid) { } int16 put_slot_id = INVALID_INDEX; - - inst->PutAugment(this, i, aug[i]); + ItemInst* inst = CreateBaseItem(item, charges); + if (inst && item->ItemClass == ItemClassCommon) { + for (int i = AUG_BEGIN; i < EmuConstants::ITEM_COMMON_SIZE; i++) { + if (aug[i]) { + inst->PutAugment(this, i, aug[i]); } } }