diff --git a/src/doomstat.h b/src/doomstat.h index 2839aa313..80efb6519 100644 --- a/src/doomstat.h +++ b/src/doomstat.h @@ -151,8 +151,6 @@ struct skinreference_t #define MV_SPBATTACK (1<<3) #define MV_MYSTICMELODY (1<<4) #define MV_MAX (MV_VISITED|MV_BEATEN|MV_ENCORE|MV_SPBATTACK|MV_MYSTICMELODY) -#define MV_FINISHNEEDED (1<<7) -#define MV_PERSISTUNLOADED (MV_SPBATTACK|MV_FINISHNEEDED) struct recorddata_t { diff --git a/src/g_game.c b/src/g_game.c index ea75a2069..e33973316 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -4951,8 +4951,7 @@ void G_LoadGameData(void) M_Memcpy(&mapheaderinfo[mapnum]->records, &dummyrecord, sizeof(recorddata_t)); } else if ( - ((dummyrecord.mapvisited & MV_PERSISTUNLOADED) != 0 - && (dummyrecord.mapvisited & MV_BEATEN) != 0) + (dummyrecord.mapvisited & MV_BEATEN) || dummyrecord.time != 0 || dummyrecord.lap != 0 ) @@ -5554,11 +5553,6 @@ void G_SaveGameData(void) UINT8 mapvisitedtemp = (mapheaderinfo[i]->records.mapvisited & MV_MAX); - if ((mapheaderinfo[i]->menuflags & (LF2_FINISHNEEDED|LF2_HIDEINMENU))) - { - mapvisitedtemp |= MV_FINISHNEEDED; - } - WRITEUINT8(save.p, mapvisitedtemp); WRITEUINT32(save.p, mapheaderinfo[i]->records.time);