diff options
author | rubidium <rubidium@openttd.org> | 2008-04-21 09:27:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-21 09:27:47 +0000 |
commit | 2a779a5e100be9133e21b5645d90d0d390af9ecd (patch) | |
tree | cce32b17c86c6818b777e7eabdab224465b1a26d /src/players.cpp | |
parent | cea98ea0e64b31ebf77c31cc6e6fc4f152e12e28 (diff) | |
download | openttd-2a779a5e100be9133e21b5645d90d0d390af9ecd.tar.xz |
(svn r12816) -Fix: the cargo count in the performance rating window could be wrong.
Diffstat (limited to 'src/players.cpp')
-rw-r--r-- | src/players.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/players.cpp b/src/players.cpp index 88f194c17..38b231f92 100644 --- a/src/players.cpp +++ b/src/players.cpp @@ -1109,7 +1109,8 @@ static const SaveLoad _player_desc[] = { SLE_CONDVAR(Player, avail_railtypes, SLE_UINT8, 0, 57), SLE_VAR(Player, block_preview, SLE_UINT8), - SLE_VAR(Player, cargo_types, SLE_UINT16), + SLE_CONDVAR(Player, cargo_types, SLE_FILE_U16 | SLE_VAR_U32, 0, 93), + SLE_CONDVAR(Player, cargo_types, SLE_UINT32, 94, SL_MAX_VERSION), SLE_CONDVAR(Player, location_of_house, SLE_FILE_U16 | SLE_VAR_U32, 0, 5), SLE_CONDVAR(Player, location_of_house, SLE_UINT32, 6, SL_MAX_VERSION), SLE_CONDVAR(Player, last_build_coordinate, SLE_FILE_U16 | SLE_VAR_U32, 0, 5), |