From 9fdfb714b551bf786a9ac29cf92f42e69fd7fcab Mon Sep 17 00:00:00 2001
From: Sally Coolatta <tehrealsalt@gmail.com>
Date: Fri, 26 Apr 2024 00:46:44 -0400
Subject: [PATCH] Match tournament exclusions with the map cheat

By request
---
 src/m_pw.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/m_pw.cpp b/src/m_pw.cpp
index 0309a57744..71c4a2ed22 100644
--- a/src/m_pw.cpp
+++ b/src/m_pw.cpp
@@ -124,6 +124,10 @@ void f_tournament()
 	{
 		if ((mapheaderinfo[i]->records.mapvisited & GD_MV_SET) == GD_MV_SET)
 			continue;
+		if (mapheaderinfo[i]->typeoflevel & TOL_VERSUS)
+			continue;
+		if (!strcmp(mapheaderinfo[i]->lumpname, "RR_HIDDENPALACE"))
+			continue;
 		mapheaderinfo[i]->records.mapvisited |= GD_MV_SET;
 		success = true;
 	}
-- 
GitLab