From 217fe023ef2ab44c32f6671353243294671efced Mon Sep 17 00:00:00 2001
From: AJ Martinez <aj@worldsbe.st>
Date: Thu, 25 Apr 2024 17:24:20 -0700
Subject: [PATCH] Exclude TOL_VERSUS from map unlock pass

---
 src/m_pw.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/m_pw.cpp b/src/m_pw.cpp
index 89ff937bf4..acc3859de4 100644
--- a/src/m_pw.cpp
+++ b/src/m_pw.cpp
@@ -323,6 +323,8 @@ void f_maps()
 	{
 		if ((mapheaderinfo[i]->records.mapvisited & GD_MV_SET) == GD_MV_SET)
 			continue;
+		if (mapheaderinfo[i]->typeoflevel & TOL_VERSUS)
+			continue;
 		mapheaderinfo[i]->records.mapvisited |= GD_MV_SET;
 		success = true;
 	}
-- 
GitLab