summaryrefslogtreecommitdiff
path: root/src/saveload/station_sl.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-04 11:24:25 +0000
committerrubidium <rubidium@openttd.org>2009-07-04 11:24:25 +0000
commit65f77a7bee0158dcc3aedc0a360ff65597dad1c8 (patch)
treeffe944f05bf885894db8cd3a2d379e08e10c2164 /src/saveload/station_sl.cpp
parent527dd3dcf7a8094fab740a22090fc64a59b2b023 (diff)
downloadopenttd-65f77a7bee0158dcc3aedc0a360ff65597dad1c8.tar.xz
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
Diffstat (limited to 'src/saveload/station_sl.cpp')
-rw-r--r--src/saveload/station_sl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp
index 4af681ad8..c8fbf1624 100644
--- a/src/saveload/station_sl.cpp
+++ b/src/saveload/station_sl.cpp
@@ -67,7 +67,8 @@ static const SaveLoad _station_desc[] = {
SLE_VAR(Station, string_id, SLE_STRINGID),
SLE_CONDSTR(Station, name, SLE_STR, 0, 84, SL_MAX_VERSION),
SLE_CONDVAR(Station, indtype, SLE_UINT8, 103, SL_MAX_VERSION),
- SLE_VAR(Station, had_vehicle_of_type, SLE_UINT16),
+ SLE_CONDVAR(Station, had_vehicle_of_type, SLE_FILE_U16 | SLE_VAR_U8, 0, 121),
+ SLE_CONDVAR(Station, had_vehicle_of_type, SLE_UINT8, 122, SL_MAX_VERSION),
SLE_VAR(Station, time_since_load, SLE_UINT8),
SLE_VAR(Station, time_since_unload, SLE_UINT8),