mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-23 12:38:21 +00:00
Merge pull request #81 from Valorith/copilot/sub-pr-80
Remove duplicate cpc.quantity assignment in parcels.cpp
This commit is contained in:
@@ -453,7 +453,6 @@ void Client::DoParcelSend(const Parcel_Struct *parcel_in)
|
|||||||
|
|
||||||
cpc.quantity = item->GetCharges() >= 0 ? item->GetCharges() : 1;
|
cpc.quantity = item->GetCharges() >= 0 ? item->GetCharges() : 1;
|
||||||
cpc.evolve_amount = item->GetEvolveCurrentAmount();
|
cpc.evolve_amount = item->GetEvolveCurrentAmount();
|
||||||
cpc.quantity = item->GetCharges() >= 0 ? item->GetCharges() : 1;
|
|
||||||
all_entries.push_back(cpc);
|
all_entries.push_back(cpc);
|
||||||
}
|
}
|
||||||
CharacterParcelsContainersRepository::InsertMany(database, all_entries);
|
CharacterParcelsContainersRepository::InsertMany(database, all_entries);
|
||||||
|
|||||||
Reference in New Issue
Block a user