Don't count demo playback as visiting a level.

This commit is contained in:
sphere 2020-10-06 16:49:53 +02:00
parent 17ce7d57c3
commit 48ca58f580

View file

@ -4187,7 +4187,7 @@ 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
mapvisited[gamemap-1] |= MV_MP; // you want to record that you've been there this session, but not permanently