summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-11-22 19:33:29 +0000
committertruelight <truelight@openttd.org>2005-11-22 19:33:29 +0000
commit4845ff063b6c83eabcd3c6ee5a3dcff7debf4ddc (patch)
tree8f15e8f51a08918d4f10f865ca89248468c85aab /misc.c
parent6a4ba84320ae137793760b628dad23de29d0b633 (diff)
downloadopenttd-4845ff063b6c83eabcd3c6ee5a3dcff7debf4ddc.tar.xz
(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 25db8cc63..36c9deae3 100644
--- a/misc.c
+++ b/misc.c
@@ -811,7 +811,7 @@ static void Load_MAP2(void)
SlArray(buf, lengthof(buf),
/* In those versions the m2 was 8 bits */
- _sl_version < 5 ? SLE_FILE_U8 | SLE_VAR_U16 : SLE_UINT16
+ CheckSavegameVersion(5) ? SLE_FILE_U8 | SLE_VAR_U16 : SLE_UINT16
);
for (j = 0; j != lengthof(buf); j++) _m[i++].m2 = buf[j];
}