diff options
author | maedhros <maedhros@openttd.org> | 2007-01-31 22:33:24 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-01-31 22:33:24 +0000 |
commit | 913558797ba0fdfa4862ba825f8224fd71d5b552 (patch) | |
tree | b3824aeb166a5bf6f38d69ce8bec3354349343e6 /src/vehicle.cpp | |
parent | fc9e84b04e06dbe587e34585913f1fb00fb8ee5e (diff) | |
download | openttd-913558797ba0fdfa4862ba825f8224fd71d5b552.tar.xz |
(svn r8501) -Fix (r7377) [FS#539]: Keep track of how much cargo has been paid for, so that cargo cannot be paid for more than once.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index cdaea63aa..8ee5d62b2 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -3029,6 +3029,7 @@ extern const SaveLoad _common_veh_desc[] = { SLE_CONDVAR(Vehicle, build_year, SLE_INT32, 31, SL_MAX_VERSION), SLE_VAR(Vehicle, load_unload_time_rem, SLE_UINT16), + SLE_CONDVAR(Vehicle, cargo_paid_for, SLE_UINT16, 45, SL_MAX_VERSION), SLE_CONDVAR(Vehicle, load_status, SLE_UINT8, 40, SL_MAX_VERSION), SLE_VAR(Vehicle, profit_this_year, SLE_INT32), |