diff options
author | Peter Nelson <peter1138@openttd.org> | 2019-01-28 21:54:06 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-02-02 21:39:06 +0000 |
commit | ea4ea628163c735db4c4714966c9bc1c560e0f61 (patch) | |
tree | bbbbaeae65879ec9876f08c42c71b9cad3ef5438 /src/saveload/economy_sl.cpp | |
parent | bdf0dc67e98ea551b9f96d91ced301404137620f (diff) | |
download | openttd-ea4ea628163c735db4c4714966c9bc1c560e0f61.tar.xz |
Codechange: Make saveload version upper bound exclusive, i.e. version object was removed instead of version object last appeared.
Diffstat (limited to 'src/saveload/economy_sl.cpp')
-rw-r--r-- | src/saveload/economy_sl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/saveload/economy_sl.cpp b/src/saveload/economy_sl.cpp index 0effb5b2f..997a7ae6e 100644 --- a/src/saveload/economy_sl.cpp +++ b/src/saveload/economy_sl.cpp @@ -36,11 +36,11 @@ static void Load_CAPR() } static const SaveLoad _economy_desc[] = { - SLE_CONDNULL(4, 0, 64), // max_loan - SLE_CONDNULL(8, 65, 143), // max_loan - SLE_CONDVAR(Economy, old_max_loan_unround, SLE_FILE_I32 | SLE_VAR_I64, 0, 64), - SLE_CONDVAR(Economy, old_max_loan_unround, SLE_INT64, 65, 125), - SLE_CONDVAR(Economy, old_max_loan_unround_fract, SLE_UINT16, 70, 125), + SLE_CONDNULL(4, 0, 65), // max_loan + SLE_CONDNULL(8, 65, 144), // max_loan + SLE_CONDVAR(Economy, old_max_loan_unround, SLE_FILE_I32 | SLE_VAR_I64, 0, 65), + SLE_CONDVAR(Economy, old_max_loan_unround, SLE_INT64, 65, 126), + SLE_CONDVAR(Economy, old_max_loan_unround_fract, SLE_UINT16, 70, 126), SLE_CONDVAR(Economy, inflation_prices, SLE_UINT64, 126, SL_MAX_VERSION), SLE_CONDVAR(Economy, inflation_payment, SLE_UINT64, 126, SL_MAX_VERSION), SLE_VAR(Economy, fluct, SLE_INT16), |