diff options
-rw-r--r-- | src/economy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 4c10eec62..96727c0fd 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1163,6 +1163,7 @@ CargoPayment::~CargoPayment() _current_company = this->front->owner; SubtractMoneyFromCompany(CommandCost(this->front->GetExpenseType(true), -this->route_profit)); + this->front->profit_this_year += this->visual_profit << 8; if (this->route_profit != 0) { if (IsLocalCompany() && !PlayVehicleSound(this->front, VSE_LOAD_UNLOAD)) { |