(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.

This commit is contained in:
truelight
2005-11-22 19:33:29 +00:00
parent 6a4ba84320
commit 4845ff063b
8 changed files with 79 additions and 52 deletions

2
misc.c
View File

@@ -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];
}