mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-30 23:42:34 +00:00
Remove duplicate cpc.quantity assignment in parcels.cpp
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
a9e35378f4
commit
65ba0f127e
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user