attempt to play a greater range of old demos.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5278 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-07-24 20:42:44 +00:00
parent 8b03acacbe
commit a7a050ffe2
1 changed files with 2 additions and 2 deletions

View File

@ -3073,14 +3073,14 @@ static void CLQW_ParseServerData (void)
}
if (protover == PROTOCOL_VERSION_QW) //this ends the version info
break;
if (cls.demoplayback && (protover == 26 || protover == 27 || protover == 28)) //older versions, maintain demo compatability.
if (cls.demoplayback && (protover >= 24 && protover <= 28)) //older versions, maintain demo compatability.
break;
Host_EndGame ("Server returned version %i, not %i\n", protover, PROTOCOL_VERSION_QW);
}
#else
protover = MSG_ReadLong ();
if (protover != PROTOCOL_VERSION_QW &&
!(cls.demoplayback && (protover == 26 || protover == 27 || protover == 28)))
!(cls.demoplayback && (protover >= 24 && protover <= 28)))
Host_EndGame ("Server returned version %i, not %i\n", protover, PROTOCOL_VERSION_QW);
#endif