summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-02 20:37:32 +0000
committeralberth <alberth@openttd.org>2010-08-02 20:37:32 +0000
commit4781f1fa92b18df31bef4e632f0efd50a89ed1d2 (patch)
treec451a3149a10dbcb1c17c381fd22e8f133b79974 /src/economy.cpp
parent5556955960c32780170b99259835502c052852fa (diff)
downloadopenttd-4781f1fa92b18df31bef4e632f0efd50a89ed1d2.tar.xz
(svn r20319) -Codechange: Align comments, add indent to a function call.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index cad7f50b4..bc484f2ba 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1084,11 +1084,11 @@ void CargoPayment::PayFinalDelivery(const CargoPacket *cp, uint count)
Money CargoPayment::PayTransfer(const CargoPacket *cp, uint count)
{
Money profit = GetTransportedGoodsIncome(
- count,
- /* pay transfer vehicle for only the part of transfer it has done: ie. cargo_loaded_at_xy to here */
- DistanceManhattan(cp->LoadedAtXY(), Station::Get(this->current_station)->xy),
- cp->DaysInTransit(),
- this->ct);
+ count,
+ /* pay transfer vehicle for only the part of transfer it has done: ie. cargo_loaded_at_xy to here */
+ DistanceManhattan(cp->LoadedAtXY(), Station::Get(this->current_station)->xy),
+ cp->DaysInTransit(),
+ this->ct);
profit = profit * _settings_game.economy.feeder_payment_share / 100;