summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-10 08:19:39 +0000
committertron <tron@openttd.org>2007-02-10 08:19:39 +0000
commitced80aadaa8041ef731750ee88d8f56645408d9b (patch)
treee8a4f43e2fa50f6e1637a184752b1ce7c9f43a9c /src/misc.cpp
parentc866f363719315519d3abc932986e49f561d21de (diff)
downloadopenttd-ced80aadaa8041ef731750ee88d8f56645408d9b.tar.xz
(svn r8660) -Fix
-Codechange: Remove _avail_aircraft Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it. Further it is unnecessary to store it in savegams.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 242aaff16..7f61191e4 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -310,7 +310,7 @@ static const SaveLoadGlobVarList _date_desc[] = {
SLEG_VAR(_tick_counter, SLE_UINT16),
SLEG_VAR(_vehicle_id_ctr_day, SLE_UINT16),
SLEG_VAR(_age_cargo_skip_counter, SLE_UINT8),
- SLEG_VAR(_avail_aircraft, SLE_UINT8),
+ SLE_CONDNULL(1, 0, 45),
SLEG_CONDVAR(_cur_tileloop_tile, SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
SLEG_CONDVAR(_cur_tileloop_tile, SLE_UINT32, 6, SL_MAX_VERSION),
SLEG_VAR(_disaster_delay, SLE_UINT16),