summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index ca276570e..e936b5678 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1530,6 +1530,9 @@ static void LoadUnloadVehicle(Vehicle *front)
cur_company.Restore();
}
+ /* As we're loading here the following link can carry the full capacity of the vehicle. */
+ v->refit_cap = v->cargo_cap;
+
/* update stats */
int t;
switch (front->type) {