# HG changeset patch # User rubidium # Date 2013-02-27 22:12:53 # Node ID 87ba326b8aa8dc98905efcbb48ad12559742983f # Parent 8a8d4c3209c1234b7292935d5744d223d972eecf (svn r25053) -Fix [FS#5488, FS#5484] (r25010): transfer credits were not given diff --git a/src/cargoaction.cpp b/src/cargoaction.cpp --- a/src/cargoaction.cpp +++ b/src/cargoaction.cpp @@ -167,6 +167,7 @@ bool CargoTransfer::operator()(CargoPack CargoPacket *cp_new = this->Preprocess(cp); if (cp_new == NULL) return false; this->source->RemoveFromMeta(cp_new, VehicleCargoList::MTA_TRANSFER, cp_new->Count()); + cp_new->AddFeederShare(this->payment->PayTransfer(cp_new, cp_new->Count())); this->destination->Append(cp_new); return cp_new == cp; }