q2 saved games actually use a different ident.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1952 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-02-11 18:08:35 +00:00
parent cea6126658
commit d1051b535a

View file

@ -38,7 +38,7 @@ void M_ScanSaves (void)
{
VFS_GETS(f, line, sizeof(line));
version = atoi(line);
if (version != FTESAVEGAME_VERSION)
if (version < FTESAVEGAME_VERSION || version >= FTESAVEGAME_VERSION+GT_MAX)
{
Q_strncpyz (m_filenames[i], "Incompatable version", sizeof(m_filenames[i]));
VFS_CLOSE (f);