Changeset - r20090:87ba326b8aa8
[Not reviewed]
master
0 1 0
rubidium - 12 years ago 2013-02-27 22:12:53
rubidium@openttd.org
(svn r25053) -Fix [FS#5488, FS#5484] (r25010): transfer credits were not given
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/cargoaction.cpp
Show inline comments
 
@@ -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;
 
}
0 comments (0 inline, 0 general)