From 0124cf7356fc35a593e2e6b94f6dfb93434c8dc4 Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 14 Mar 2023 20:36:54 +0000 Subject: [PATCH] No TEST RUN in statistics as that's also forbidden in Time Attack --- src/menus/extras-statistics.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/menus/extras-statistics.c b/src/menus/extras-statistics.c index d34a5d9f4..356bf46b2 100644 --- a/src/menus/extras-statistics.c +++ b/src/menus/extras-statistics.c @@ -20,6 +20,10 @@ static boolean M_StatisticsAddMap(UINT16 map, cupheader_t *cup, boolean *headere if (mapheaderinfo[map]->menuflags & (LF2_NOTIMEATTACK|LF2_HIDEINSTATS|LF2_HIDEINMENU)) return false; + // No TEST RUN, as that's another exception to Time Attack too + if (!mapheaderinfo[map]->typeoflevel) + return false; + // Check for completion if ((mapheaderinfo[map]->menuflags & LF2_FINISHNEEDED) && !(mapheaderinfo[map]->mapvisited & MV_BEATEN))