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 | d8edc2bb98d3e15c53a4174e91e6882b1f835235 (patch) | |
tree | b3824aeb166a5bf6f38d69ce8bec3354349343e6 /src/vehicle.cpp | |
parent | 43242302e01894c5aa5b6488537fcff75aa6a36d (diff) | |
download | openttd-d8edc2bb98d3e15c53a4174e91e6882b1f835235.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), |