Allow loading the header from savegames with a different version. This is needed to allow starting a new game on the episode/level/skill saved in an incompatible savegame.

git-svn-id: https://svn.eduke32.com/eduke32@4610 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-09-30 04:07:41 +00:00
parent b8c8f153ac
commit ee82c62afc

View file

@ -242,7 +242,7 @@ int32_t G_LoadPlayer(int32_t spot)
ready2send = 0;
i = sv_loadheader(fil, spot, &h);
if (i && i != 2 || h.numplayers!=ud.multimode)
if ((i && i != 2) || h.numplayers != ud.multimode)
{
if (i == 2 || i == 3)
P_DoQuote(QUOTE_SAVE_BAD_VERSION, g_player[myconnectindex].ps);