Shared Bank bug fix?

This commit is contained in:
Michael Cook (mackal) 2015-01-31 03:48:59 -05:00
parent 0bdbc5f5c9
commit eb7d77bcac

View File

@ -438,9 +438,7 @@ bool SharedDatabase::GetSharedBank(uint32 id, Inventory *inv, bool is_charid)
}
}
if (!row[9])
continue;
if (row[9]) {
std::string data_str(row[9]);
std::string idAsString;
std::string value;
@ -463,6 +461,7 @@ bool SharedDatabase::GetSharedBank(uint32 id, Inventory *inv, bool is_charid)
else
value.push_back(v);
}
}
put_slot_id = inv->PutItem(slot_id, *inst);
safe_delete(inst);