summaryrefslogtreecommitdiff
path: root/src/players.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-01 16:35:14 +0000
committerrubidium <rubidium@openttd.org>2007-05-01 16:35:14 +0000
commita4e045a3fbb04a7020d47caf0e2ac41d630df817 (patch)
tree3af9b32e32882e876dac13b47e51e15d2bba5c06 /src/players.cpp
parent2ccee752fde0f4ff93c210f0801fefa2848c8ccf (diff)
downloadopenttd-a4e045a3fbb04a7020d47caf0e2ac41d630df817.tar.xz
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
Diffstat (limited to 'src/players.cpp')
-rw-r--r--src/players.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/players.cpp b/src/players.cpp
index eb4bd1712..1a7487ce9 100644
--- a/src/players.cpp
+++ b/src/players.cpp
@@ -1109,7 +1109,7 @@ static const SaveLoad _player_desc[] = {
SLE_VAR(Player, player_color, SLE_UINT8),
SLE_VAR(Player, player_money_fraction, SLE_UINT8),
- SLE_VAR(Player, avail_railtypes, SLE_UINT8),
+ SLE_CONDVAR(Player, avail_railtypes, SLE_UINT8, 0, 57),
SLE_VAR(Player, block_preview, SLE_UINT8),
SLE_VAR(Player, cargo_types, SLE_UINT16),