From bfce75d5cd2bf76bdf48e11605ef5faf5fa66bbf Mon Sep 17 00:00:00 2001 From: Steel Titanium Date: Wed, 23 Oct 2019 16:29:50 -0400 Subject: [PATCH] Disable restriction for ``DEVELOP`` builds only --- src/m_menu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 56f757470..894b19e60 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4549,7 +4549,11 @@ static boolean M_LevelAvailableOnPlatter(INT32 mapnum) if (mapnum+1 == spstage_start) return true; - return true; +#ifndef DEVELOP + if (mapvisited[mapnum]) // MV_MP +#endif + return true; + /* FALLTHRU */ case LLM_RECORDATTACK: case LLM_NIGHTSATTACK: