diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-17 19:52:12 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-17 19:52:12 +0000 |
commit | 47b0e29a562db8e7295e38dbbd8e14d513567601 (patch) | |
tree | 1d5162c6a5c1305673ecacf3e51dde37400a9d8d | |
parent | 14f1d0f0a42e7609deebdd51533d5276bbe34918 (diff) | |
download | openttd-47b0e29a562db8e7295e38dbbd8e14d513567601.tar.xz |
(svn r3924) - Revert r3923, apparently we are not fond of CONDNULL() structs :)
-rw-r--r-- | settings.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/settings.c b/settings.c index 30e9ed422..12417189b 100644 --- a/settings.c +++ b/settings.c @@ -1302,7 +1302,6 @@ const SettingDesc _patch_settings[] = { /* This is the penalty for level crossings, for both road and rail vehicles */ SDT_VAR(Patches, npf_crossing_penalty, SLE_UINT, 0, 0, (3 * NPF_TILE_LENGTH), 0, 100000, STR_NULL, NULL), - SDT_CONDNULL(32, 0, SL_MAX_VERSION), SDT_END() }; @@ -1564,9 +1563,6 @@ static void Load_PATS(void) /* Copy over default setting since some might not get loaded in * a networking environment. This ensures for example that the local * signal_side stays when joining a network-server */ - size_t length = SlGetFieldLength(); - for (; length != 0; length--) SlReadByte(); - return; _patches = _patches_newgame; LoadSettings(_patch_settings, &_patches); } |