PCExhumed: Don't restore mid level save point if re-entering a just completed level

This commit is contained in:
sirlemonhead 2020-06-10 21:35:29 +01:00 committed by Christoph Oelckers
parent 2e514e539e
commit 9df13d0dfe

View file

@ -2142,11 +2142,12 @@ LOOP3:
}
levelnew = -1;
}
/* don't restore mid level savepoint if re-entering just completed level
if (nNetPlayerCount == 0 && lastlevel == levelnum)
{
RestoreSavePoint(nLocalPlayer, &initx, &inity, &initz, &initsect, &inita);
}
*/
lastlevel = levelnum;
for (i = 0; i < nTotalPlayers; i++)