don't show secret-flagged linedefs with special color on am_cheat 4 and above

This commit is contained in:
Xaser Acheron 2023-04-10 22:18:41 -05:00 committed by Christoph Oelckers
parent da4752d7ec
commit 6d8bee9316

View file

@ -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);