mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-01 14:11:01 +00:00
PCExhumed: Don't restore mid level save point if re-entering a just completed level
This commit is contained in:
parent
2e514e539e
commit
9df13d0dfe
1 changed files with 2 additions and 1 deletions
|
@ -2142,11 +2142,12 @@ LOOP3:
|
||||||
}
|
}
|
||||||
levelnew = -1;
|
levelnew = -1;
|
||||||
}
|
}
|
||||||
|
/* don't restore mid level savepoint if re-entering just completed level
|
||||||
if (nNetPlayerCount == 0 && lastlevel == levelnum)
|
if (nNetPlayerCount == 0 && lastlevel == levelnum)
|
||||||
{
|
{
|
||||||
RestoreSavePoint(nLocalPlayer, &initx, &inity, &initz, &initsect, &inita);
|
RestoreSavePoint(nLocalPlayer, &initx, &inity, &initz, &initsect, &inita);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
lastlevel = levelnum;
|
lastlevel = levelnum;
|
||||||
|
|
||||||
for (i = 0; i < nTotalPlayers; i++)
|
for (i = 0; i < nTotalPlayers; i++)
|
||||||
|
|
Loading…
Reference in a new issue