mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +00:00
Merge branch 'no-demo-visit' into 'next'
Don't count demo playback as visiting a level. Closes #327 and #340 See merge request STJr/SRB2!1177
This commit is contained in:
commit
b566bb8ae3
1 changed files with 2 additions and 2 deletions
|
|
@ -4187,9 +4187,9 @@ boolean P_LoadLevel(boolean fromnetsave)
|
|||
nextmapoverride = 0;
|
||||
skipstats = 0;
|
||||
|
||||
if (!(netgame || multiplayer) && (!modifiedgame || savemoddata))
|
||||
if (!(netgame || multiplayer || demoplayback) && (!modifiedgame || savemoddata))
|
||||
mapvisited[gamemap-1] |= MV_VISITED;
|
||||
else
|
||||
else if (netgame || multiplayer)
|
||||
mapvisited[gamemap-1] |= MV_MP; // you want to record that you've been there this session, but not permanently
|
||||
|
||||
levelloading = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue