summaryrefslogtreecommitdiff
path: root/src/saveload/economy_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/economy_sl.cpp')
-rw-r--r--src/saveload/economy_sl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/saveload/economy_sl.cpp b/src/saveload/economy_sl.cpp
index 9bdad61a9..86605bdfb 100644
--- a/src/saveload/economy_sl.cpp
+++ b/src/saveload/economy_sl.cpp
@@ -63,11 +63,11 @@ static void Load_ECMY()
}
static const SaveLoad _cargopayment_desc[] = {
- SLE_REF(CargoPayment, front, REF_VEHICLE),
- SLE_VAR(CargoPayment, route_profit, SLE_INT64),
- SLE_VAR(CargoPayment, visual_profit, SLE_INT64),
-
- SLE_END()
+ SLE_REF(CargoPayment, front, REF_VEHICLE),
+ SLE_VAR(CargoPayment, route_profit, SLE_INT64),
+ SLE_VAR(CargoPayment, visual_profit, SLE_INT64),
+ SLE_CONDVAR(CargoPayment, visual_transfer, SLE_INT64, 181, SL_MAX_VERSION),
+ SLE_END()
};
static void Save_CAPY()