From 6d8bee9316223dee577239975168a7308afc454c Mon Sep 17 00:00:00 2001 From: Xaser Acheron Date: Mon, 10 Apr 2023 22:18:41 -0500 Subject: [PATCH] don't show secret-flagged linedefs with special color on am_cheat 4 and above --- src/am_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/am_map.cpp b/src/am_map.cpp index 48bc53823f5..6ee8165da4a 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -2624,7 +2624,7 @@ void DAutomap::drawWalls (bool allmap) } else if (line.flags & ML_SECRET) { // secret door - if (am_cheat != 0 && line.backsector != nullptr) + if (am_cheat != 0 && am_cheat < 4 && line.backsector != nullptr) drawMline(&l, AMColors.SecretWallColor); else drawMline(&l, AMColors.WallColor);